diff options
author | 2010-10-11 17:20:11 +0200 | |
---|---|---|
committer | 2010-10-11 17:20:11 +0200 | |
commit | f3fee983dd082266cc932df5b248d1a9b1bdd41a (patch) | |
tree | 547d2b6c7e6fc1afed5854568d1a18a2f8331b02 /Makefile | |
parent | Zero (diff) | |
download | conf-update-f3fee983dd082266cc932df5b248d1a9b1bdd41a.tar.gz conf-update-f3fee983dd082266cc932df5b248d1a9b1bdd41a.tar.bz2 conf-update-f3fee983dd082266cc932df5b248d1a9b1bdd41a.zip |
Add code of conf-update 1.01.0
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5ed48fa --- /dev/null +++ b/Makefile @@ -0,0 +1,28 @@ +FLAGS = $$(pkg-config --cflags glib-2.0) -W -Wall -Wno-pointer-sign -g $(CFLAGS) +CC = gcc + +all: conf-update + +config.o: config.c conf-update.h + $(CC) $(FLAGS) -c config.c +core.o: core.c conf-update.h + $(CC) $(FLAGS) -c core.c +helpers.o: helpers.c conf-update.h + $(CC) $(FLAGS) -c helpers.c +conf-update.o: conf-update.c conf-update.h + $(CC) $(FLAGS) -c conf-update.c +index.o: index.c conf-update.h + $(CC) $(FLAGS) -c index.c +modified.o: conf-update.h modified.c + $(CC) $(FLAGS) -c modified.c + +conf-update.h: core.h helpers.h index.h modified.h config.h + +conf-update: core.o helpers.o conf-update.o index.o modified.o config.o + $(CC) $$(pkg-config --libs glib-2.0) -lncurses -lmenu -lcrypto $(LDFLAGS) -o conf-update config.o core.o helpers.o conf-update.o index.o modified.o + +.PHONY: clean + +clean: + rm -f *.o + rm -f conf-update |