rockbox/utils/time-sync/Makefile
Maurus Cuelenaere 3e89296d6a Import ipod-time-sync from libgpod
This copies ipod-time-sync from libgpod and strips it of
unneccesary code + Makefile and README are added.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24306 a1c6a512-1295-4272-9138-f99709370657
2010-01-21 11:57:01 +00:00

17 lines
No EOL
276 B
Makefile

CFLAGS = -Wall
SRCS = ipod-scsi.c time-sync.c
OBJS = $(patsubst %.c,%.o,$(SRCS))
all: time-sync
clean:
rm -f ${OBJS} ipod-time-sync
%.o: %.c
gcc ${CFLAGS} -c -o $@ $^
time-sync: ${OBJS}
gcc ${CFLAGS} -lsgutils2 -o $@ $^
install: time-sync
cp time-sync /usr/local/bin/