13 |
ttf2bmf_LDADD = -lSDL_ttf |
ttf2bmf_LDADD = -lSDL_ttf |
14 |
endif |
endif |
15 |
|
|
16 |
INCLUDES = @LIBTOLUAFLAGS@ -I$(top_srcdir)/lib-src |
INCLUDES = -I$(top_srcdir)/lib-src -I$(top_srcdir)/lib-src/lua |
17 |
|
|
18 |
EXTRA_DIST = enigma.ico enigma.rc ttf2bmf.cc \ |
EXTRA_DIST = enigma.ico enigma.rc ttf2bmf.cc \ |
19 |
enigma-lua.pkg gui-lua.pkg px-lua.pkg |
enigma-lua.pkg gui-lua.pkg px-lua.pkg |
37 |
enigma.cc enigma.hh \ |
enigma.cc enigma.hh \ |
38 |
fwd.hh \ |
fwd.hh \ |
39 |
game.cc game.hh \ |
game.cc game.hh \ |
|
getopt.c getopt.h getopt1.c \ |
|
40 |
gui.cc gui.hh \ |
gui.cc gui.hh \ |
41 |
items.cc items.hh \ |
items.cc items.hh \ |
42 |
laser.cc laser.hh \ |
laser.cc laser.hh \ |
63 |
endif |
endif |
64 |
|
|
65 |
enigma_LDADD = $(mingw_ldadd) \ |
enigma_LDADD = $(mingw_ldadd) \ |
66 |
@SDL_LIBS@ px/libpx.a -llua -llualib \ |
@SDL_LIBS@ px/libpx.a \ |
67 |
../lib-src/libtolua/libtolua.a \ |
../lib-src/lua/liblua.a \ |
68 |
../lib-src/oxydlib/liboxyd.a |
../lib-src/oxydlib/liboxyd.a |
69 |
|
|
70 |
enigma_CXXFLAGS = @SDL_CFLAGS@ |
enigma_CXXFLAGS = @SDL_CFLAGS@ |
71 |
enigma_CFLAGS = @SDL_CFLAGS@ |
enigma_CFLAGS = @SDL_CFLAGS@ |
72 |
|
|
73 |
|
TOLUA = tolua |
74 |
|
#$(top_srcdir)/lib-src/lua/tolua |
75 |
|
|
76 |
# Rule for creating Lua interfaces from package descriptions using 'tolua' |
# Rule for creating Lua interfaces from package descriptions using 'tolua' |
77 |
%-lua.cc %-lua.hh: %-lua.pkg |
%-lua.cc %-lua.hh: %-lua.pkg |
78 |
$(TOLUA) -H $*-lua.hh -n $* -o $@ $< |
$(TOLUA) -H $*-lua.hh -n $* -o $@ $< |