6823baa8eb
- use MAKE_FLAGS - quiet two warnings - bring in the header sys/types.h for the definition of BYTE_ORDER
28 lines
539 B
Plaintext
28 lines
539 B
Plaintext
--- unix/makefile.orig Wed Jul 1 04:29:10 1998
|
|
+++ unix/makefile Mon Feb 14 16:42:41 2000
|
|
@@ -22,23 +22,12 @@
|
|
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
|