summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 2462d3e..a7b0ee7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,13 @@
all: libcppbuild.a cppbuild
-libcppbuild.a: libcppbuild.cc task.cc libcppbuild.h
+libcppbuild.a: libcppbuild.cc libcppbuild.h task_cc.cc task_cc.h task_ld.cc task_ld.h task.h
g++ -g -std=c++17 libcppbuild.cc -c -o libcppbuild.o
- g++ -g -std=c++17 task.cc -c -o task.o
- ar rcs libcppbuild.a libcppbuild.o task.o
+ g++ -g -std=c++17 task_cc.cc -c -o task_cc.o
+ g++ -g -std=c++17 task_ld.cc -c -o task_ld.o
+ ar rcs libcppbuild.a libcppbuild.o task_cc.o task_ld.o
cppbuild: cppbuild.cc libcppbuild.h libcppbuild.a
g++ -g -std=c++17 cppbuild.cc libcppbuild.a -pthread -o cppbuild
clean:
- rm -f cppbuild libcppbuild.o task.o libcppbuild.a
+ rm -f cppbuild libcppbuild.o task_cc.o task_ld.o libcppbuild.a