Makefile | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d5d352e..9a98bf5 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,3 @@ -CFLAGS := -g -O2 -Wall INSTALL := install DESTDIR := ETCDIR := /etc @@ -38,7 +37,10 @@ endif ############################################################################### all: cachefilesd -cachefilesd: cachefilesd.c Makefile +cachefilesd.o: cachefilesd.c + $(CC) $(CFLAGS) -c $< + +cachefilesd: cachefilesd.o $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< ###############################################################################