summaryrefslogtreecommitdiffstats
path: root/devel/lrmi/files/patch-Makefile.bsd
blob: fdbde97c89c65abec747fefcf880682a1825684d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--- Makefile.bsd.orig	Tue May 13 23:18:12 2003
+++ Makefile.bsd	Tue Jan 31 14:03:00 2006
@@ -1,4 +1,4 @@
-CFLAGS = -g -Wall
+CFLAGS?=-g -Wall
 RANLIB = ranlib
 OS != uname -s
 
@@ -13,21 +13,21 @@
 all: $(all)
 
 .c.o:
-	$(CC) -c $(CPPFLAGS) $(CFLAGS) -o ${.TARGET} ${.IMPSRC}
+	$(CC) -c $(CFLAGS) -o ${.TARGET} ${.IMPSRC}
 
 .SUFFIXES: .lo
 .c.lo:
-	$(CC) -c $(CPPFLAGS) $(CFLAGS) -fPIC -o ${.TARGET} ${.IMPSRC}
+	$(CC) -c $(CFLAGS) -fPIC -o ${.TARGET} ${.IMPSRC}
 
 liblrmi.a: $(objects)
 	$(AR) -r ${.TARGET} ${.ALLSRC}
 	$(RANLIB) ${.TARGET}
 
 liblrmi.so: $(pic_objects)
-	$(CC) $(CPPFLAGS) $(CFLAGS) -fPIC -shared -o ${.TARGET} ${.ALLSRC} ${libs}
+	$(CC) $(CFLAGS) -fPIC -shared -o ${.TARGET} ${.ALLSRC} ${libs}
 
 vbetest: vbetest.o liblrmi.a
-	$(CC) $(CPPFLAGS) $(CFLAGS) -o ${.TARGET} ${.ALLSRC} ${libs}
+	$(CC) $(CFLAGS) -o ${.TARGET} ${.ALLSRC} ${libs}
 
 .PHONY: clean
 clean:
OpenPOWER on IntegriCloud