Makefile: rebuild if doc.h changes
authorAli Gholami Rudi <ali@rudi.ir>
Fri, 22 Mar 2013 14:46:05 +0000 (22 19:16 +0430)
committerAli Gholami Rudi <ali@rudi.ir>
Fri, 22 Mar 2013 14:46:05 +0000 (22 19:16 +0430)
Makefile

index c4a0cae..786419a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ CFLAGS = -Wall -O2 -I$(PREFIX)/include
 LDFLAGS = -L$(PREFIX)/lib
 
 all: fbpdf fbdjvu
-%.o: %.c
+%.o: %.c doc.h
        $(CC) -c $(CFLAGS) $<
 clean:
        -rm -f *.o fbpdf fbdjvu fbpdf2