summaryrefslogtreecommitdiff
path: root/math/mtrxmath/files/patch-Makefile
blob: a28360d8b6e318d67885d2f85a0f7b0f25329014 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- Makefile.orig	Mon Apr  9 10:26:51 2001
+++ Makefile	Sun Mar  7 12:06:36 2004
@@ -1,10 +1,9 @@
 # Edited for Debian GNU/Linux
 DESTDIR=
-CFLAGS=-Wall
+CFLAGS+=-Wall ${CPPFLAGS}
 IFLAGS=--owner=root --group=root
 BASEPATH=${DESTDIR}/usr
 BINPATH=${BASEPATH}/bin
-MANPATH=${BASEPATH}/share/man/man1
 
 SRCS=add.c  mtrxmath.c  mult.c  sub.c inverse.c
 
@@ -14,7 +13,7 @@
 all: ${EXE}
 
 ${EXE}: ${OBJS}
-	${CC} -o $@ ${OBJS}
+	${CC} -o $@ ${OBJS} ${LDFLAGS}
 
 clean:
 	rm -f ${OBJS} ${EXE} *.orig