summaryrefslogtreecommitdiff
blob: 5cbb24001c956bb7b9767b2e63a2042b422167b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 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 $@ $<
 
 ###############################################################################