aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7fdd628..80c1663 100644
--- a/Makefile
+++ b/Makefile
@@ -32,10 +32,11 @@ all: $(BIN)
%: %.o util.o stream.o
$(CC) $(LDFLAGS) -o $@ $^
-%.o: src/%.c src/*.h
+%.o: src/%.c src/*.h src/*/*.h
$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
clean:
-rm $(BIN) $(BIN:=.o) util.o stream.o
.PHONY: all clean
+.PRECIOUS: util.o stream.o