diff options
Diffstat (limited to 'src/Makefile')
| -rw-r--r-- | src/Makefile | 18 |
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 |
