summaryrefslogtreecommitdiffstats
path: root/2022-2/L01/mitsuo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '2022-2/L01/mitsuo/Makefile')
-rw-r--r--2022-2/L01/mitsuo/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/2022-2/L01/mitsuo/Makefile b/2022-2/L01/mitsuo/Makefile
new file mode 100644
index 0000000..bf76745
--- /dev/null
+++ b/2022-2/L01/mitsuo/Makefile
@@ -0,0 +1,20 @@
+# 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: build
+ ./a.out < Medico-Paciente-Medicinas.txt > output.txt
+
+.PHONY: build
+build:
+ g++ -g -lm *.cpp
+
+
+.PHONY: clean
+clean:
+ rm *.o