summaryrefslogtreecommitdiffstats
path: root/2022-2/L1/mitsuo/Makefile
diff options
context:
space:
mode:
authorMitsuo Tokumori <[email protected]>2022-09-09 19:18:52 -0500
committerMitsuo Tokumori <[email protected]>2022-09-09 19:18:52 -0500
commit1ac847532f673a66e790b05c8aef22fc959ddd19 (patch)
tree96a3e1ef2b6d35cb1539ea559d44f1c27fab6281 /2022-2/L1/mitsuo/Makefile
downloadLP1-1ac847532f673a66e790b05c8aef22fc959ddd19.tar.gz
LP1-1ac847532f673a66e790b05c8aef22fc959ddd19.tar.bz2
LP1-1ac847532f673a66e790b05c8aef22fc959ddd19.zip
2022-2 L1 mostly done.
See TODO in fun.cpp
Diffstat (limited to '2022-2/L1/mitsuo/Makefile')
-rw-r--r--2022-2/L1/mitsuo/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/2022-2/L1/mitsuo/Makefile b/2022-2/L1/mitsuo/Makefile
new file mode 100644
index 0000000..ac6b439
--- /dev/null
+++ b/2022-2/L1/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:
+ g++ -g -lm *.cpp && ./a.out < Medico-Paciente-Medicinas.txt > output.txt
+
+
+.PHONY: clean
+clean:
+ rm *.o