summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 507d841..9b7e035 100644
--- a/Makefile
+++ b/Makefile
@@ -19,8 +19,8 @@ CXXFLAGS = -g -O3 -std=c++17 -I.
libcppbuild.a: $(OBJ)
ar rcs $@ $(OBJ)
-cppbuild: cppbuild.cc libcppbuild.a
- g++ $(CXXFLAGS) -pthread cppbuild.cc libcppbuild.a -o $@
+cppbuild: cppbuild.cc subdir/cppbuild.cc libcppbuild.a
+ g++ $(CXXFLAGS) -pthread cppbuild.cc subdir/cppbuild.cc libcppbuild.a -o $@
clean:
rm -f libcppbuild.a $(OBJ) cppbuild