summaryrefslogtreecommitdiffstats
path: root/utils/time-sync/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/time-sync/Makefile')
-rw-r--r--utils/time-sync/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/utils/time-sync/Makefile b/utils/time-sync/Makefile
new file mode 100644
index 0000000000..d58ad3b357
--- /dev/null
+++ b/utils/time-sync/Makefile
@@ -0,0 +1,17 @@
+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/ \ No newline at end of file