freebsd-ports/misc/datedif/files/patch-Makefile
Ying-Chieh Liao c99e82c73a add datedif
Calculates the number of days between two dates
2001-06-16 18:12:37 +00:00

15 lines
320 B
Text

--- Makefile.orig Sun Jun 17 01:59:03 2001
+++ Makefile Sun Jun 17 02:01:47 2001
@@ -4,10 +4,10 @@
LIBS =
project: $(OBJS)
- gcc -s -o datedif $(LIBS) $(OBJS)
+ ${CC} ${CFLAGS} -o datedif $(LIBS) $(OBJS)
main.o: main.c
- gcc -O2 -c -o main.o main.c
+ ${CC} ${CFLAGS} -c -o main.o main.c
clean:
rm -f main.o