Added Makefile to rebuild dependencies
This commit is contained in:
parent
9a9a49ff3a
commit
1a30d22de8
4
Makefile
4
Makefile
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue