29 lines
616 B
Plaintext
29 lines
616 B
Plaintext
$OpenBSD: patch-unix_makefile,v 1.1 2001/03/24 22:31:20 brad Exp $
|
|
--- unix/makefile.orig Wed Jul 1 04:29:10 1998
|
|
+++ unix/makefile Sat Mar 24 17:30:41 2001
|
|
@@ -22,23 +22,12 @@ CHALLOC =
|
|
CHNEW = chnew.o challoc.o
|
|
CC = gcc
|
|
|
|
-ifeq ($(OSTYPE), Linux)
|
|
-CFLAGS += -DUNIX -DCASEINSENSE
|
|
-else
|
|
-ifeq ($(OSTYPE), DOS)
|
|
-EXEEXT = .exe
|
|
-CFLAGS += -DDOS
|
|
-else
|
|
-CFLAGS += -DUNIX -DCASEINSENSE
|
|
-endif
|
|
-endif
|
|
-
|
|
# not all systems require the math library
|
|
#LIBS = -lm
|
|
|
|
|
|
unace$(EXEEXT): $(OBJ) $(CHALLOC)
|
|
- gcc $(CFLAGS) -o $@ $^ $(LIBS)
|
|
+ $(CC) $(CFLAGS) -o $@ $(OBJ) $(LIBS)
|
|
|
|
clean:
|
|
rm -f *.o a.out core unace unace.exe
|