summaryrefslogtreecommitdiffstats
path: root/2022-2/L6/mitsuo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '2022-2/L6/mitsuo/Makefile')
-rw-r--r--2022-2/L6/mitsuo/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/2022-2/L6/mitsuo/Makefile b/2022-2/L6/mitsuo/Makefile
new file mode 100644
index 0000000..f8bcb92
--- /dev/null
+++ b/2022-2/L6/mitsuo/Makefile
@@ -0,0 +1,16 @@
+# Just a simple C++ makefile
+#
+# Use with `$ make`
+# Run build binary with `$ ./a.out`
+
+
+# No file association to the "clean" target. Also no dependency.
+# See more: https://stackoverflow.com/a/2145605/7498073
+.PHONY: all
+all:
+ clang++ -g *.cpp && ./a.out
+
+
+.PHONY: clean
+clean:
+ rm *.o a.out