diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-06-11 19:07:09 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-06-11 19:07:16 +0200 |
commit | 474ce1322f3c13fe414b5e2201d82a4136a947da (patch) | |
tree | 841d4771e451d646c7a83384a148a7b791f1ff44 /Makefile |
Simple build config with dependency tracking.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7cad9bd --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +all: libcppbuild.a cppbuild + +libcppbuild.a: libcppbuild.cc + g++ -g -std=c++17 libcppbuild.cc -c -o libcppbuild.o + ar rcs libcppbuild.a libcppbuild.o + +cppbuild: cppbuild.cc libcppbuild.a + g++ -g -std=c++17 cppbuild.cc libcppbuild.a -o cppbuild + +clean: + rm -f cppbuild libcppbuild.o libcppbuild.a |