4 |
SUBDIRS = fonts sound px gfx levels libtolua |
SUBDIRS = fonts sound px gfx levels libtolua |
5 |
bin_PROGRAMS = enigma |
bin_PROGRAMS = enigma |
6 |
|
|
7 |
# build font converter only if SDL_ttf library is present |
# Build font converter only if SDL_ttf library is present |
8 |
if BUILDTTF2BMF |
if BUILDTTF2BMF |
9 |
noinst_PROGRAMS = ttf2bmf |
noinst_PROGRAMS = ttf2bmf |
10 |
ttf2bmf_SOURCES = ttf2bmf.cc getopt.c getopt1.c getopt.h |
ttf2bmf_SOURCES = ttf2bmf.cc getopt.c getopt1.c getopt.h |
19 |
COPYING.GPL ttf2bmf.cc HACKING enigma.spec CREATING-LEVELS \ |
COPYING.GPL ttf2bmf.cc HACKING enigma.spec CREATING-LEVELS \ |
20 |
enigma.rc enigma.ico |
enigma.rc enigma.ico |
21 |
|
|
22 |
|
# Source files created by 'tolua'. |
23 |
LUA_IF_SOURCES = \ |
LUA_IF_SOURCES = \ |
24 |
enigma-lua.cc enigma-lua.hh \ |
enigma-lua.cc enigma-lua.hh \ |
25 |
px-lua.cc px-lua.hh |
px-lua.cc px-lua.hh |
33 |
enigma.cc enigma.hh \ |
enigma.cc enigma.hh \ |
34 |
fwd.hh \ |
fwd.hh \ |
35 |
getopt.c getopt.h getopt1.c \ |
getopt.c getopt.h getopt1.c \ |
36 |
|
gui.cc gui.hh \ |
37 |
items.cc items.hh \ |
items.cc items.hh \ |
38 |
laser.cc laser.hh \ |
laser.cc laser.hh \ |
39 |
lua.cc lua.hh \ |
lua.cc lua.hh \ |
40 |
gui.cc gui.hh \ |
menus.cc menus.hh \ |
41 |
network.cc network.hh \ |
network.cc network.hh \ |
42 |
object_mixins.hh \ |
object_mixins.hh \ |
43 |
objects.cc objects.hh \ |
objects.cc objects.hh \ |
58 |
enigma_LDADD = px/libpx.a -llua -llualib libtolua/libtolua.a |
enigma_LDADD = px/libpx.a -llua -llualib libtolua/libtolua.a |
59 |
endif |
endif |
60 |
|
|
61 |
|
# Rule for creating Lua interfaces from package descriptions with 'tolua' |
62 |
%-lua.cc %-lua.hh: %-lua.pkg |
%-lua.cc %-lua.hh: %-lua.pkg |
63 |
$(TOLUA) -H $*-lua.hh -n $* -o $@ $< |
$(TOLUA) -H $*-lua.hh -n $* -o $@ $< |