-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
executable file
·46 lines (29 loc) · 779 Bytes
/
makefile
File metadata and controls
executable file
·46 lines (29 loc) · 779 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
PP=g++
CFLAGS= -Wall
TESTFLAGS= -lgtest -lpthread
DOC=doxygen
OTHERS= fantasma.cpp labirinto.cpp pacman.cpp partida.cpp personagem.cpp arquivo.cpp
################################
OBJS=arquivo.o fantasma.o labirinto.o pacman.o partida.o personagem.o
DOXYFILE=Doxyfile
MAIN=ep4.cpp
################################
.PHONY: clean
all: jogo
arquivo.o: arquivo.h
fantasma.o: fantasma.h
labirinto.o: labirinto.h
pacman.o: pacman.h
partida.o: partida.h
personagem.o: personagem.h
ep4.o: ep4.cpp
jogo: ${OBJS}
${PP} ${CFLAGS} -o ep4 ${MAIN} ${OTHERS}
tests: jogoTestes
jogoTestes: ${OBJS} ${MAIN}
${PP} ${CFLAGS} -o ep4 ${MAIN} ${OTHERS} ${TESTFLAGS} -DTESTES_ON
doc:
${DOC} -g
${DOC} ${DOXYFILE}
clean:
@rm -rf *.o html latex ep4 ${DOXYFILE} ${DOXYFILE}.bak