-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
79 lines (69 loc) · 2.37 KB
/
Makefile.am
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#SUBDIRS = src tests
EXTRA_DIST = bootstrap data bin_win32 vs2010
AM_CPPFLAGS = -I $(top_srcdir)/src -I /usr/include/SDL
bin_PROGRAMS = AstroAttack AAEditor
pugi_src = \
src/contrib/pugixml/pugixml.cpp
common_src = \
src/common/CameraController.cpp \
src/common/Component.cpp \
src/common/ComponentManager.cpp \
src/common/DataLoader.cpp \
src/common/Event.cpp \
src/common/Font.cpp \
src/common/Logger.cpp \
src/common/Physics.cpp \
src/common/Renderer.cpp \
src/common/Sound.cpp \
src/common/Texture.cpp \
src/common/TriggerSystem.cpp \
src/common/Vector2D.cpp \
src/common/components/CompGravField.cpp \
src/common/components/CompPath.cpp \
src/common/components/CompPathMove.cpp \
src/common/components/CompPhysics.cpp \
src/common/components/CompPlayerController.cpp \
src/common/components/CompPosition.cpp \
src/common/components/CompShape.cpp \
src/common/components/CompTrigger_Conditions.cpp \
src/common/components/CompTrigger.cpp \
src/common/components/CompTrigger_Effects.cpp \
src/common/components/CompVariable.cpp \
src/common/components/CompVisualAnimation.cpp \
src/common/components/CompVisualMessage.cpp \
src/common/components/CompVisualTexture.cpp
game_src = \
src/game/main.cpp \
src/game/Configuration.cpp \
src/game/GameApp.cpp \
src/game/GameState.cpp \
src/game/Gui.cpp \
src/game/Input.cpp \
src/game/InputCameraController.cpp \
src/game/OsMsgBox.cpp \
src/game/PlayerController.cpp \
src/game/states/GameOverState.cpp src/game/states/MainMenuState.cpp \
src/game/states/PlayingState.cpp src/game/states/SlideShowState.cpp
editor_src = \
src/editor/Editor.cpp \
src/editor/EditorApp.cpp \
src/editor/EditorFrame.cpp \
src/editor/GlCanvasController.cpp \
src/editor/gen/EditorGuiBase.cpp
test_src = \
tests/testmain.cpp \
tests/LevelLoadTest.cpp
# === AstroAttack ===
AstroAttack_SOURCES = $(common_src) $(game_src) $(pugi_src)
AstroAttack_CPPFLAGS = $(AM_CPPFLAGS) -DSDL_SWAP_BUF
# === AAEditor ===
AAEditor_CXXFLAGS = @WX_CXXFLAGS@
AAEditor_LDADD = @WX_LIBS@ @WX_GL_LIBS@
AAEditor_SOURCES = $(common_src) $(editor_src)
# === AATest ===
if ENABLETEST
bin_PROGRAMS += AATest
AATest_SOURCES = $(common_src) $(test_src)
#AATest_LDADD = `gtest-config --libs`
AATest_LDADD = -lpthread -lgtest
endif