incorporated vim's link.sh; -i arg reports commit
[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/Dispatch.cc \
28 Moof/Dispatch.hh \
29 Moof/Drawable.hh \
30 Moof/Entity.hh \
31 Moof/Error.hh \
32 Moof/Event.hh \
33 Moof/Frustum.cc \
34 Moof/Frustum.hh \
35 Moof/HashTools.cc \
36 Moof/HashTools.hh \
37 Moof/Image.cc \
38 Moof/Image.hh \
39 Moof/Interpolator.hh \
40 Moof/Line.hh \
41 Moof/Log.cc \
42 Moof/Log.hh \
43 Moof/Manager.hh \
44 Moof/Math.hh \
45 Moof/ModalDialog.hh \
46 Moof/Octree.hh \
47 Moof/OpenGL.hh \
48 Moof/Plane.cc \
49 Moof/Plane.hh \
50 Moof/Ray.hh \
51 Moof/Resource.cc \
52 Moof/Resource.hh \
53 Moof/RigidBody.hh \
54 Moof/Script.hh \
55 Moof/Settings.cc \
56 Moof/Settings.hh \
57 Moof/Shape.hh \
58 Moof/Sound.cc \
59 Moof/Sound.hh \
60 Moof/Sphere.hh \
61 Moof/StringTools.cc \
62 Moof/StringTools.hh \
63 Moof/Texture.cc \
64 Moof/Texture.hh \
65 Moof/Thread.hh \
66 Moof/Timer.cc \
67 Moof/Timer.hh \
68 Moof/Video.cc \
69 Moof/Video.hh \
70 Moof/View.cc \
71 Moof/View.hh \
72 Moof/fastevents.c \
73 Moof/fastevents.h \
74 $(ENDLIST)
75
76 EXTRA_DIST = Moof/cml Moof/stlplus
77
78
79 #
80 # yoink
81 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
82
83 bin_PROGRAMS = yoink
84
85 yoink_CPPFLAGS = -I$(top_srcdir)/src/Moof
86 yoink_LDADD = libmoof.a
87
88 yoink_SOURCES = \
89 Animation.cc \
90 Animation.hh \
91 Character.cc \
92 Character.hh \
93 ErrorHandler.cc \
94 ErrorHandler.hh \
95 GameLayer.cc \
96 GameLayer.hh \
97 GameState.hh \
98 Heroine.cc \
99 Heroine.hh \
100 Hud.cc \
101 Hud.hh \
102 Main.cc \
103 Main.hh \
104 Scene.cc \
105 Scene.hh \
106 TilemapFont.cc \
107 TilemapFont.hh \
108 TitleLayer.cc \
109 TitleLayer.hh \
110 Typesetter.cc \
111 Typesetter.hh \
112 version.c \
113 version.h \
114 $(ENDLIST)
115
116 if WIN32
117 yoink_SOURCES += yoink.rc
118 .rc.o:
119 $(WINDRES) -o $@ -i $<
120 else
121 YOINK_ENVIRONMENT = YOINK_DATADIR="$(top_srcdir)/data"
122 run: all
123 $(YOINK_ENVIRONMENT) ./yoink $(YOINK_OPTS)
124
125 debug: all
126 $(YOINK_ENVIRONMENT) gdb ./yoink
127 endif
128
129 if LINK_SH
130 yoink$(EXEEXT): $(yoink_OBJECTS) $(yoink_DEPENDENCIES)
131 @rm -f yoink$(EXEEXT)
132 @LINK="$(CXXLINK) $(yoink_OBJECTS) $(yoink_LDADD) $(LIBS)"\
133 sh $(top_srcdir)/link.sh
134
135 clean-local:
136 rm -rf .link
137 endif
138
This page took 0.040341 seconds and 4 git commands to generate.