summaryrefslogtreecommitdiffstats
path: root/utils/time-sync/Makefile
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2010-01-21 11:57:01 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2010-01-21 11:57:01 +0000
commit3e89296d6a3ecbcd430d3569fdc28a355ac36a0d (patch)
tree46eab846c10d0a5121e7ff5d834a9a9d01e67f42 /utils/time-sync/Makefile
parent0061234579833576f6d00a7fc8f0b94d3f0f64ed (diff)
downloadrockbox-3e89296d6a3ecbcd430d3569fdc28a355ac36a0d.tar.gz
rockbox-3e89296d6a3ecbcd430d3569fdc28a355ac36a0d.tar.bz2
rockbox-3e89296d6a3ecbcd430d3569fdc28a355ac36a0d.zip
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
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