Fix last known 'variable set but not used' warning reported from GCC 4.6.0.
[kugel-rb.git] / utils / time-sync / Makefile
blob14d4802fc40239e30ceffcf27b7c18366f8d951f
1 CFLAGS = -Wall
2 SRCS = ipod-scsi.c time-sync.c
3 OBJS = $(patsubst %.c,%.o,$(SRCS))
5 all: time-sync
7 clean:
8 rm -f ${OBJS} time-sync
10 %.o: %.c
11 gcc ${CFLAGS} -c -o $@ $^
13 time-sync: ${OBJS}
14 gcc ${CFLAGS} -lsgutils2 -o $@ $^
16 install: time-sync
17 cp time-sync /usr/local/bin/