blob: 5deb7561abec35a9214dc2c077603c84b641e47a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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 libentityx.a out/*.o
# g++ out/*.o -shared -o ../entityx.so
|