new win32 resource file; better dependency checks
[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/Animation.cc \
18 Moof/Animation.hh \
19 Moof/Camera.cc \
20 Moof/Camera.hh \
21 Moof/ConvertUTF.c \
22 Moof/ConvertUTF.h \
23 Moof/Cullable.hh \
24 Moof/Deserializer.cc \
25 Moof/Deserializer.hh \
26 Moof/Dispatcher.cc \
27 Moof/Dispatcher.hh \
28 Moof/Drawable.hh \
29 Moof/Engine.cc \
30 Moof/Engine.hh \
31 Moof/Entity.hh \
32 Moof/Event.hh \
33 Moof/Exception.hh \
34 Moof/Frustum.cc \
35 Moof/Frustum.hh \
36 Moof/Hash.cc \
37 Moof/Hash.hh \
38 Moof/Interpolator.hh \
39 Moof/Log.cc \
40 Moof/Log.hh \
41 Moof/Math.hh \
42 Moof/Mippleton.hh \
43 Moof/Octree.cc \
44 Moof/Octree.hh \
45 Moof/OpenGL.hh \
46 Moof/Plane.cc \
47 Moof/Plane.hh \
48 Moof/Random.cc \
49 Moof/Random.hh \
50 Moof/Rectangle.cc \
51 Moof/Rectangle.hh \
52 Moof/Resource.cc \
53 Moof/Resource.hh \
54 Moof/RK4.hh \
55 Moof/Scene.cc \
56 Moof/Scene.hh \
57 Moof/Serializable.cc \
58 Moof/Serializable.hh \
59 Moof/Serializer.cc \
60 Moof/Serializer.hh \
61 Moof/Settings.cc \
62 Moof/Settings.hh \
63 Moof/Sound.cc \
64 Moof/Sound.hh \
65 Moof/Sphere.cc \
66 Moof/Sphere.hh \
67 Moof/StringTools.cc \
68 Moof/StringTools.hh \
69 Moof/Texture.cc \
70 Moof/Texture.hh \
71 Moof/Thread.hh \
72 Moof/Tilemap.cc \
73 Moof/Tilemap.hh \
74 Moof/Timer.cc \
75 Moof/Timer.hh \
76 Moof/Video.cc \
77 Moof/Video.hh \
78 Moof/fastevents.c \
79 Moof/fastevents.h \
80 $(ENDLIST)
81
82 libmoof_a_SOURCES += \
83 Moof/yajl/src/yajl.c \
84 Moof/yajl/src/yajl_alloc.c \
85 Moof/yajl/src/yajl_alloc.h \
86 Moof/yajl/src/yajl_buf.c \
87 Moof/yajl/src/yajl_buf.h \
88 Moof/yajl/src/yajl_bytestack.h \
89 Moof/yajl/src/yajl_encode.c \
90 Moof/yajl/src/yajl_encode.h \
91 Moof/yajl/src/yajl_gen.c \
92 Moof/yajl/src/yajl_lex.c \
93 Moof/yajl/src/yajl_lex.h \
94 Moof/yajl/src/yajl_parser.c \
95 Moof/yajl/src/yajl_parser.h \
96 $(ENDLIST)
97
98 libmoof_a_CPPFLAGS = -I$(top_srcdir)/src/Moof -I$(top_srcdir)/src/Moof/yajl/src
99
100 EXTRA_DIST = Moof/cml Moof/stlplus Moof/yajl
101
102
103 #
104 # yoink
105 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
106
107 bin_PROGRAMS = yoink
108
109 yoink_SOURCES = \
110 Character.cc \
111 Character.hh \
112 Hud.cc \
113 Hud.hh \
114 TilemapFont.cc \
115 TilemapFont.hh \
116 Typesetter.cc \
117 Typesetter.hh \
118 YoinkApp.cc \
119 YoinkApp.hh \
120 $(ENDLIST)
121
122 if WIN32
123 yoink_SOURCES += yoink.rc yoink.ico
124 .rc.o:
125 @WINDRES@ -o $@ -i $<
126 endif
127
128 yoink_CPPFLAGS = -I$(top_srcdir)/src/Moof
129 yoink_LDADD = libmoof.a
130
131
132 YOINK_ENVIRONMENT = YOINK_DATADIR="$(top_srcdir)/data"
133
134 run: all
135 $(YOINK_ENVIRONMENT) ./yoink $(YOINK_OPTS)
136
137 debug: all
138 $(YOINK_ENVIRONMENT) gdb ./yoink
139
This page took 0.035478 seconds and 4 git commands to generate.