no need to rebuild version.c every time
[chaz/yoink] / src / Makefile.am
1
2 #
3 # Yoink
4 # Process this file with automake to produce a Makefile.
5 #
6
7
8 #
9 # libmoof.a
10 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11
12 noinst_LIBRARIES = libmoof.a
13
14 libmoof_a_SOURCES = \
15 Moof/Aabb.cc \
16 Moof/Aabb.hh \
17 Moof/Camera.cc \
18 Moof/Camera.hh \
19 Moof/ConvertUTF.c \
20 Moof/ConvertUTF.h \
21 Moof/Cullable.hh \
22 Moof/Dispatch.cc \
23 Moof/Dispatch.hh \
24 Moof/Drawable.hh \
25 Moof/Engine.cc \
26 Moof/Engine.hh \
27 Moof/Entity.hh \
28 Moof/Event.hh \
29 Moof/Exception.hh \
30 Moof/Frustum.cc \
31 Moof/Frustum.hh \
32 Moof/Hash.cc \
33 Moof/Hash.hh \
34 Moof/Interpolator.hh \
35 Moof/Layer.hh \
36 Moof/Library.hh \
37 Moof/Line.hh \
38 Moof/Log.cc \
39 Moof/Log.hh \
40 Moof/Math.hh \
41 Moof/ModalDialog.hh \
42 Moof/Octree.hh \
43 Moof/OpenGL.hh \
44 Moof/Plane.cc \
45 Moof/Plane.hh \
46 Moof/Ray.hh \
47 Moof/Rectangle.cc \
48 Moof/Rectangle.hh \
49 Moof/Resource.cc \
50 Moof/Resource.hh \
51 Moof/RigidBody.hh \
52 Moof/Script.hh \
53 Moof/Settings.cc \
54 Moof/Settings.hh \
55 Moof/Shape.hh \
56 Moof/Sound.cc \
57 Moof/Sound.hh \
58 Moof/Sphere.hh \
59 Moof/StringTools.cc \
60 Moof/StringTools.hh \
61 Moof/Texture.cc \
62 Moof/Texture.hh \
63 Moof/Thread.hh \
64 Moof/Timer.cc \
65 Moof/Timer.hh \
66 Moof/Transition.hh \
67 Moof/Video.cc \
68 Moof/Video.hh \
69 Moof/fastevents.c \
70 Moof/fastevents.h \
71 $(ENDLIST)
72
73 libmoof_a_CPPFLAGS = -I$(top_srcdir)/src/Moof
74
75 EXTRA_DIST = Moof/cml Moof/stlplus
76
77
78 #
79 # yoink
80 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
81
82 bin_PROGRAMS = yoink
83
84 yoink_SOURCES = \
85 Animation.cc \
86 Animation.hh \
87 Character.cc \
88 Character.hh \
89 ErrorHandler.cc \
90 ErrorHandler.hh \
91 GameLayer.cc \
92 GameLayer.hh \
93 Heroine.cc \
94 Heroine.hh \
95 Hud.cc \
96 Hud.hh \
97 MainLayer.cc \
98 MainLayer.hh \
99 Scene.cc \
100 Scene.hh \
101 Tilemap.cc \
102 Tilemap.hh \
103 TilemapFont.cc \
104 TilemapFont.hh \
105 TitleLayer.cc \
106 TitleLayer.hh \
107 Typesetter.cc \
108 Typesetter.hh \
109 version.c \
110 version.h \
111 $(ENDLIST)
112
113 if WIN32
114 yoink_SOURCES += yoink.rc yoink.ico
115 .rc.o:
116 $(AM_V_GEN) $(WINDRES) -o $@ -i $<
117 endif
118
119 yoink_CPPFLAGS = -I$(top_srcdir)/src/Moof
120 yoink_LDADD = libmoof.a
121
122
123 YOINK_ENVIRONMENT = YOINK_DATADIR="$(top_srcdir)/data"
124
125 run: all
126 $(YOINK_ENVIRONMENT) ./yoink $(YOINK_OPTS)
127
128 debug: all
129 $(YOINK_ENVIRONMENT) gdb ./yoink
130
This page took 0.034031 seconds and 4 git commands to generate.