-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (21 loc) · 711 Bytes
/
Makefile
File metadata and controls
31 lines (21 loc) · 711 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
all: exec
exec: main.o GereDietas.o GerePacientes.o
gcc main.o GereDietas.o GerePacientes.o -o exec
main.o: main.c Dados.h Funcoes.h
gcc -c main.c -o main.o
GereDietas.o: GereDietas.c Funcoes.h Dados.h
gcc -c GereDietas.c -o GereDietas.o
GerePacientes.o: GerePacientes.c Funcoes.h Dados.h
gcc -c GerePacientes.c -o GerePacientes.o
run2f: exec
./exec Pacientes.csv Dietas.csv
run3f: exec
./exec Pacientes.csv Dietas.csv PlanosNutri.csv
ajuda: exec
./exec -ajuda
tab2f: exec
./exec -tab tPacientes.csv tDietas.csv
tab3f: exec
./exec -tab tPacientes.csv tDietas.csv tPlanosNutri.csv
clean:
rm *.o exec planosstdin.csv tplanosstdin.csv ExpPacientes.csv ExpDietas.csv ExpPlanoNutricional.csv