-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
33 lines (27 loc) · 1.09 KB
/
Makefile
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
32
33
CC=gcc
all: trabalho
makerun: clean trabalho
./DiskManager
commit:
git add .
git commit -m $(m)
git push origin master
trabalho: simulador.o main.o simulador.o requisicoes.o create.o write.o read.o delete.o
$(CC) -std=gnu99 -o DiskManager delete.o read.o create.o write.o requisicoes.o simulador.o main.o
main.o: main.c
$(CC) -std=gnu99 -c main.c
simulador.o: simulador/simulador.c simulador/simulador.h
$(CC) -std=gnu99 -c simulador/simulador.c
requisicoes.o: simulador/requisicoes.c simulador/requisicoes.h
$(CC) -std=gnu99 -c simulador/requisicoes.c
create.o: simulador/manipulations/create.c simulador/manipulations/create.h
$(CC) -std=gnu99 -c simulador/manipulations/create.c
write.o: simulador/manipulations/write.c simulador/manipulations/write.h
$(CC) -std=gnu99 -c simulador/manipulations/write.c
read.o: simulador/manipulations/read.c simulador/manipulations/read.h
$(CC) -std=gnu99 -c simulador/manipulations/read.c
delete.o: simulador/manipulations/delete.c simulador/manipulations/delete.h
$(CC) -std=gnu99 -c simulador/manipulations/delete.c
.PHONY: clean
clean:
rm -rf *.o DiskManager