diff --git a/Makefile b/Makefile index 15a8445..d650f47 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,3 @@ -CFLAGS := -g -O2 -Wall INSTALL := install DESTDIR := BUILDFOR := @@ -21,7 +20,10 @@ endif # all: cachefilesd -cachefilesd: cachefilesd.c Makefile +cachefilesd.o: cachefilesd.c + $(CC) $(CFLAGS) -c $< + +cachefilesd: cachefilesd.o $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< #