1 Debian patch touch this file
| 1 | ############################################################################## |
| 2 | # |
| 3 | # Makefile for GPStrans - subdirectory ./gps/ |
| 4 | # |
| 5 | ############################################################################## |
| 6 | # |
| 7 | # You don't need to change anything here. Do every change in ./Makefile |
| 8 | # |
| 9 | ############################################################################## |
| 10 | CC = gcc |
| 11 | INCLUDES=-I../include |
| 12 | CFLAGS = -g -D__LINUX__ -DDEBUG |
| 13 | |
| 14 | |
| 15 | OFILES = sendgpsinfo.o dms.o datum.o calendar.o gpsmessage.o garmincomm.o \ |
| 16 | garminserial.o getgpsinfo.o latlong.o |
| 17 | HFILES = ../include/defs.h ../include/Prefs.h ../include/Garmin.h ../include/protocols.h |
| 18 | |
| 19 | .c.o: $(HFILES) |
| •20 | $(CC) -c $(CFLAGS) $(CPPFLAGS) $(INCLUDES) $< |
| 21 | |
| 22 | all: $(OFILES) $(HFILES) |
| 23 | |
| 24 | clean: |
| 25 | @rm -f core gpstrans *.o *.bak *~ #*# |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 |