Merge branch 'master' of git@github.com:andreferreira/Projeto-PCG
[Projeto-PCG.git] / Makefile
blob676798001c5b4a5a12b1e8a70fc6d84f8bcf2621
1 OBJS = \
2 main.o \
3 geometry.o \
4 luaenv.o \
5 shooter.o \
6 player.o \
7 game.o \
8 timer.o \
9 controle.o \
10 thing.o \
11 gravity.o \
12 mapa.o \
13 platform.o \
14 weapon.o \
15 maploader.o \
16 weaponmanager.o \
17 configmanager.o \
18 shot.o \
19 shotmanager.o \
20 controlewii.o \
21 collision.o \
22 enemy.o \
23 weaponitem.o \
24 enemymanager.o \
25 acorde.o \
26 nota.o \
28 SRCS = $(OBJS,.o=.cpp)
30 all: a.out
32 a.out: $(OBJS)
33 g++ -lSDL -lGL -lcwiid $(OBJS) liblua.a
35 .cpp.o:
36 g++ -c $<
38 clean:
39 rm -f a.out *.o
41 ubuntu: $(OBJS)
42 g++ -lSDL -lGL -llua5.1 -lcwiid $(OBJS)