blob: 86eb0c886e6a2190ffec23ea1cd7729869a5fc65 (
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
35
36
37
38
|
$NetBSD: patch-ab,v 1.1.1.1 2003/10/04 20:57:49 jschauma Exp $
--- Makefile.orig 2003-10-04 16:12:55.000000000 -0400
+++ Makefile 2003-10-04 16:14:11.000000000 -0400
@@ -1,6 +1,6 @@
-CC = gcc
-CFLAGS = -Wall -DDEBUG=0
+#CC = gcc
+CFLAGS += -Wall -DDEBUG=0
all: libgps.o garmin.o garminbin capture switchmode gbindiff
@@ -18,19 +18,19 @@
testlibgps.o: testlibgps.c libgps.c libgps.h
garminbin: garminbin.o libgps.o
- gcc -o garminbin garminbin.o libgps.o garmin.o -lm
+ ${CC} -o garminbin garminbin.o libgps.o garmin.o ${LDFLAGS} -lm
gbindiff: gbindiff.o garmin.o libgps.o
- gcc -o gbindiff gbindiff.o garmin.o libgps.o -lm
+ ${CC} -o gbindiff gbindiff.o garmin.o libgps.o ${LDFLAGS} -lm
oldgarminbin: oldgarminbin.o libgps.o
- gcc -o oldgarminbin oldgarminbin.o libgps.o garmin.o -lm
+ ${CC} -o oldgarminbin oldgarminbin.o libgps.o garmin.o ${LDFLAGS} -lm
capture: capture.o siolib.o
- gcc -o capture capture.o siolib.o
+ ${CC} -o capture capture.o siolib.o ${LDFLAGS}
switchmode: switchmode.o siolib.o
- gcc -o switchmode switchmode.o siolib.o
+ ${CC} -o switchmode switchmode.o siolib.o ${LDFLAGS}
clean:
|