aboutsummaryrefslogtreecommitdiff
path: root/linux-run/Makefile
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-02-06 00:09:57 +0800
committercrupest <crupest@outlook.com>2023-02-06 00:09:57 +0800
commit7d41d457fe6e7433df030b4e5a3ae59093ad929d (patch)
tree1e510ac24115aec82521f4acb6fec20df256feb3 /linux-run/Makefile
parent65267139ce50b4b52f934b9750e5e4f718c538e6 (diff)
downloadlife-7d41d457fe6e7433df030b4e5a3ae59093ad929d.tar.gz
life-7d41d457fe6e7433df030b4e5a3ae59093ad929d.tar.bz2
life-7d41d457fe6e7433df030b4e5a3ae59093ad929d.zip
Add linux-run.
Diffstat (limited to 'linux-run/Makefile')
-rw-r--r--linux-run/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/linux-run/Makefile b/linux-run/Makefile
new file mode 100644
index 0000000..7392db6
--- /dev/null
+++ b/linux-run/Makefile
@@ -0,0 +1,16 @@
+.PHONY: all test clean
+
+all: linux-run-test linux-run-test-bin
+
+linux-run-test: linux-run.h linux-run.cpp linux-run-test.cpp
+ g++ linux-run.cpp linux-run-test.cpp -o linux-run-test
+
+linux-run-test-bin: linux-run-test-bin.cpp
+ g++ linux-run-test-bin.cpp -o linux-run-test-bin
+
+
+test: linux-run-test linux-run-test-bin
+ ./linux-run-test
+
+clean:
+ rm linux-run-test linux-run-test-bin