Added Makefile to rebuild dependencies

This commit is contained in:
Thomas Kolb 2013-01-17 23:18:09 +01:00
parent 9a9a49ff3a
commit 1a30d22de8
1 changed files with 2 additions and 2 deletions

View File

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