$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: