summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2003-08-26 21:43:31 +0000
committerLennart Poettering <lennart@poettering.net>2003-08-26 21:43:31 +0000
commit3bc3ad24a2c089b4ee80fc1765fab3d2af378d00 (patch)
tree632a002b1c9a507ab49c11875eb373a6642902fb /src/Makefile
parentd4a8a10792c7f9b777487b2d15ab56c737e7e35c (diff)
Initial commit
git-svn-id: file:///home/lennart/svn/public/syrep/trunk@2 07ea20a6-d2c5-0310-9e02-9ef735347d72
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 0000000..45f00b2
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,18 @@
+CFLAGS=-Wall -pipe -O0 -g
+CC=gcc
+
+
+all: syrep
+
+syrep: cache.o update.o util.o syrep.o md5.o md5util.o context.o package.o dbutil.o cmdline.o info.o history.o dump.o list.o diff.o merge.o
+ $(CC) -g $^ -o $@ -ldb
+
+cmdline.c cmdline.h: syrep.ggo Makefile
+ gengetopt --unamed-opts < $<
+
+update.o: cmdline.h
+
+clean:
+ rm -f *.o syrep cmdline.[ch]
+
+.PHONY: all clean