blob: bf76745a4c59018a12361c1c97d449b644ba3743 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
|