freebsd-ports/math/mtrxmath/files/patch-Makefile
Will Andrews 2a6b85739d Add mtrxmath 0.9.3, a small tool for matrix mathemetics.
PR:		24202
Submitted by:	George Reid <greid@ukug.uk.freebsd.org>
2001-03-10 19:46:38 +00:00

18 lines
365 B
Plaintext

--- Makefile.orig Sun Jan 7 23:29:11 2001
+++ Makefile Tue Jan 9 20:43:18 2001
@@ -1,4 +1,4 @@
-CFLAGS=-Wall -g
+CFLAGS+=-Wall -g -I${PREFIX}/include
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} -L${PREFIX}/lib -lgnugetopt
clean:
rm -f ${OBJS} ${EXE} *.orig