summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3003995..31a3465 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ clean:
@rm -rf $(OBJDIR)
-$(OBJDIR)/%.o: %.cpp $(wildcard *.h) | $(OBJDIR)
+$(OBJDIR)/%.o: %.cpp $(HEADERS) | $(OBJDIR)
@echo "CXX $<"
@$(CXX) $(CXXFLAGS) -c -o $@ $<