freebsd-ports/math/mtrxmath/files/patch-Makefile
FUJISHIMA Satsuki b185046be2 get rid of libgnugetopt dependency for -CURRENT,
use USE_GETOPT_LONG instead.
2003-07-14 02:53:03 +00:00

17 lines
340 B
Text

--- Makefile.orig Mon Jan 8 08:29:11 2001
+++ Makefile Sun Jul 6 20:09:15 2003
@@ -1,4 +1,4 @@
-CFLAGS=-Wall -g
+CFLAGS+=-Wall -g ${CPPFLAGS}
SRCS=add.c mtrxmath.c mult.c sub.c inverse.c
@@ -8,7 +8,7 @@
all: ${EXE}
${EXE}: ${OBJS}
- ${CC} -o $@ ${OBJS}
+ ${CC} -o $@ ${OBJS} ${LDFLAGS}
clean:
rm -f ${OBJS} ${EXE} *.orig