forked from pedrohlcastro/RaceDecom
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
25 lines (20 loc) · 680 Bytes
/
makefile
File metadata and controls
25 lines (20 loc) · 680 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
CC = g++
OPCOES_COMPILADOR= -lSOIL -lGL -lglut -lGLEW -lsfml-graphics -lsfml-window -lsfml-system -lsfml-network -lsfml-audio
TODOS_ARQUIVOS_PONTOH = estruturasPrincipais.h mapa.h personagem.h tela.h
TODOS_ARQUIVOS_OBJ = main.o mapa.o personagem.o tela.o
%.o: ../%.cpp $(TODOS_ARQUIVOS_PONTOH)
$(CC) $(OPCOES_COMPILADOR) -o $@ -c $<
all: $(TODOS_ARQUIVOS_OBJ)
$(CC) -o main $^ $(OPCOES_COMPILADOR)
run: all
./main
# Jogue com carinho!
install:
sudo apt-get install build-essential
sudo apt-get install freeglut3-dev
sudo apt-get install libglew1.6-dev
sudo apt-get install libsoil-dev
sudo apt-get install libsfml-dev
# Bibliotecas intaladas!
clean:
rm *.o main