blob: d5c748f7f67f4debfe8907c9496cad44e7634c5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# gamedev CHANGE - changed output of libentityx to ../lib/
INC = -I..
FLG = -std=gnu++11
FILES = help/Pool.cc \
help/Timer.cc \
Event.cc \
Entity.cc \
System.cc
all:
mkdir out
g++ $(INC) $(FLG) -c help/Pool.cc -o out/Pool.o
g++ $(INC) $(FLG) -c help/Timer.cc -o out/Timer.o
g++ $(INC) $(FLG) -c Event.cc -o out/Event.o
g++ $(INC) $(FLG) -c Entity.cc -o out/Entity.o
g++ $(INC) $(FLG) -c System.cc -o out/System.o
ar rvs ../lib/libentityx.a out/*.o
# g++ out/*.o -shared -o ../entityx.so
rm -rf out
|