openbsd-ports/archivers/unace/patches/patch-aa
brad 6823baa8eb - remove the need for gmake
- use MAKE_FLAGS
- quiet two warnings
- bring in the header sys/types.h for the definition of BYTE_ORDER
2000-02-14 22:12:48 +00:00

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