summaryrefslogtreecommitdiffstats
path: root/2022-2/L1/mitsuo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '2022-2/L1/mitsuo/Makefile')
-rw-r--r--2022-2/L1/mitsuo/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/2022-2/L1/mitsuo/Makefile b/2022-2/L1/mitsuo/Makefile
index ac6b439..bf76745 100644
--- a/2022-2/L1/mitsuo/Makefile
+++ b/2022-2/L1/mitsuo/Makefile
@@ -7,8 +7,12 @@
# 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
+all: build
+ ./a.out < Medico-Paciente-Medicinas.txt > output.txt
+
+.PHONY: build
+build:
+ g++ -g -lm *.cpp
.PHONY: clean