Fix last commit
This commit is contained in:
@@ -11,9 +11,9 @@ httpserver: $(OBJS)
|
||||
$(CC) $(CFLAGS) -o $@ $^
|
||||
|
||||
# Auto-rebuild if Makefile changes
|
||||
bin/%.o: src/%.c Makefile
|
||||
bin/%.o: %.c Makefile
|
||||
@mkdir -p bin/deps/
|
||||
$(CC) $(CFLAGS) -MD -MF $(patsubst src/%.c,bin/deps/%.d,$<) -c -o $@ $<
|
||||
$(CC) $(CFLAGS) -MD -MF $(patsubst %.c,bin/deps/%.d,$<) -c -o $@ $<
|
||||
|
||||
include $(SRCS:%.c/bin/deps/%.d)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user