Added Makefile to rebuild dependencies

This commit is contained in:
Thomas Kolb 2013-01-17 23:18:09 +01:00
parent 9a9a49ff3a
commit 1a30d22de8

View file

@ -13,10 +13,10 @@ DEPS=logger.h templates.h dirlisting.h util.h
OBJ=$(patsubst %.c, %.o, $(SOURCE)) OBJ=$(patsubst %.c, %.o, $(SOURCE))
$(TARGET): $(OBJ) $(DEPS) $(TARGET): $(OBJ) $(DEPS) Makefile
$(CC) -o $(TARGET) $(OBJ) $(LIBS) $(CC) -o $(TARGET) $(OBJ) $(LIBS)
%.o: %.c $(DEPS) %.o: %.c $(DEPS) Makefile
$(CC) -c $(CFLAGS) -o $@ $< $(INCLUDES) $(CC) -c $(CFLAGS) -o $@ $< $(INCLUDES)
doc: doc: