]> Dogcows Code - chaz/yoink/blob - src/Makefile.am
61be61016885df1ad74557f77e2a17cf15b18503
[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_CPPFLAGS = -I$(top_srcdir)/src/moof
15
16 libmoof_a_SOURCES = \
17 moof/aabb.cc \
18 moof/aabb.hh \
19 moof/backend.cc \
20 moof/backend.hh \
21 moof/camera.cc \
22 moof/camera.hh \
23 moof/contact.hh \
24 moof/ConvertUTF.c \
25 moof/ConvertUTF.h \
26 moof/cullable.hh \
27 moof/dispatcher.cc \
28 moof/dispatcher.hh \
29 moof/drawable.hh \
30 moof/entity.hh \
31 moof/event.hh \
32 moof/frustum.cc \
33 moof/frustum.hh \
34 moof/hash.cc \
35 moof/hash.hh \
36 moof/image.cc \
37 moof/image.hh \
38 moof/interpolator.hh \
39 moof/line.hh \
40 moof/log.cc \
41 moof/log.hh \
42 moof/manager.hh \
43 moof/math.hh \
44 moof/modal_dialog.hh \
45 moof/network.hh \
46 moof/opengl.hh \
47 moof/packet.cc \
48 moof/packet.hh \
49 moof/plane.cc \
50 moof/plane.hh \
51 moof/ray.hh \
52 moof/resource.cc \
53 moof/resource.hh \
54 moof/rigid_body.hh \
55 moof/script.hh \
56 moof/service.cc \
57 moof/service.hh \
58 moof/settings.cc \
59 moof/settings.hh \
60 moof/shape.hh \
61 moof/socket.hh \
62 moof/sound.cc \
63 moof/sound.hh \
64 moof/sphere.hh \
65 moof/string.cc \
66 moof/string.hh \
67 moof/texture.cc \
68 moof/texture.hh \
69 moof/thread.hh \
70 moof/timer.cc \
71 moof/timer.hh \
72 moof/video.cc \
73 moof/video.hh \
74 moof/view.cc \
75 moof/view.hh \
76 moof/fastevents.c \
77 moof/fastevents.h \
78 $(ENDLIST)
79
80 EXTRA_DIST = moof/cml moof/stlplus
81
82
83 #
84 # yoink
85 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
86
87 bin_PROGRAMS = yoink
88
89 yoink_CPPFLAGS = -I$(top_srcdir)/src/moof
90 yoink_LDADD = libmoof.a
91
92 yoink_SOURCES = \
93 Animation.cc \
94 Animation.hh \
95 Character.cc \
96 Character.hh \
97 GameLayer.cc \
98 GameLayer.hh \
99 GameState.hh \
100 Heroine.cc \
101 Heroine.hh \
102 Hud.cc \
103 Hud.hh \
104 Main.cc \
105 Main.hh \
106 Scene.cc \
107 Scene.hh \
108 TilemapFont.cc \
109 TilemapFont.hh \
110 TitleLayer.cc \
111 TitleLayer.hh \
112 Typesetter.cc \
113 Typesetter.hh \
114 version.c \
115 version.h \
116 $(ENDLIST)
117
118 if WIN32
119 yoink_SOURCES += yoink.rc
120 .rc.o:
121 $(WINDRES) -o $@ -i $<
122 else
123 YOINK_ENVIRONMENT = YOINK_DATADIR="$(top_srcdir)/data"
124 run: all
125 $(YOINK_ENVIRONMENT) ./yoink $(YOINK_OPTS)
126
127 debug: all
128 $(YOINK_ENVIRONMENT) gdb ./yoink
129 endif
130
131 if LINK_SH
132 yoink$(EXEEXT): $(yoink_OBJECTS) $(yoink_DEPENDENCIES)
133 @rm -f yoink$(EXEEXT)
134 @LINK="$(CXXLINK) $(yoink_OBJECTS) $(yoink_LDADD) $(LIBS)"\
135 sh $(top_srcdir)/link.sh
136
137 clean-local:
138 rm -f .link/*
139 endif
140
This page took 0.035919 seconds and 3 git commands to generate.