summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4e9ed24..5bfd9c0 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ remake: clean
$(TARGET): $(patsubst %.cpp,%.o,$(wildcard *.cpp))
- $(CXX) -o $@ $<
+ $(CXX) -o $@ $^
%.o: %.cpp $(wildcard *.h)
$(CXX) $(CXXFLAGS) -c -o $@ $<