Utility for setting RTC based on gpsd time
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
241 B

CFLAGS=-Wall -O2
all: gpsdate gps-watchdog
gpsdate: gpsdate.o
$(CC) $(LDFLAGS) -o $@ $^ -lgps
gps-watchdog: gps-watchdog.o
$(CC) $(LDFLAGS) -o $@ $^ -lgps
%.o: %.c
$(CC) $(CFLAGS) -o $@ -c $^
@rm -f gpsdate gps-watchdog *.o