summaryrefslogtreecommitdiff
blob: 5c2eea232082bc0db1423b77cbc5dd150fc58729 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- fslurp-0.9/makefile
+++ fslurp-0.9/makefile
@@ -6,14 +6,14 @@
 
 INCLUDES	= fslurp.h fronius.h externs.h
 
-CFLAGS		= -Wall
+CFLAGS		+= -Wall
 
 LINKFLAGS	= -lm
 
 VERSION		:= fslurp-$(shell tail -1 version)
 
 fslurp:		$(SOURCE) $(INCLUDES)
-		gcc $(CFLAGS) -o fslurp $(SOURCE) $(LINKFLAGS)
+		$(CC) $(CFLAGS) $(LDFLAGS) -o fslurp $(SOURCE) $(LINKFLAGS)
 
 test:		fslurp
 		./fslurp