blob: 58b18a73c28a78398e08cb5acab1ce5d8c3753c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# 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:
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
|