57 lines
1.6 KiB
Makefile
57 lines
1.6 KiB
Makefile
|
|
gamesdir = $(prefix)/games
|
|
|
|
AM_CFLAGS = -I../textscreen -I../src @SDLMIXER_CFLAGS@
|
|
|
|
games_PROGRAMS = @PROGRAM_PREFIX@setup
|
|
|
|
SOURCE_FILES = \
|
|
compatibility.c compatibility.h \
|
|
configfile.c configfile.h \
|
|
display.c display.h \
|
|
joystick.c joystick.h \
|
|
keyboard.c keyboard.h \
|
|
m_argv.c m_argv.h \
|
|
mainmenu.c \
|
|
mouse.c mouse.h \
|
|
multiplayer.c multiplayer.h \
|
|
sound.c sound.h \
|
|
execute.c execute.h \
|
|
txt_joybinput.c txt_joybinput.h \
|
|
txt_keyinput.c txt_keyinput.h \
|
|
txt_mouseinput.c txt_mouseinput.h
|
|
|
|
EXTRA_DIST= \
|
|
setup_icon.c
|
|
|
|
if HAVE_WINDRES
|
|
@PROGRAM_PREFIX@setup_SOURCES=$(SOURCE_FILES) setup-res.rc
|
|
else
|
|
@PROGRAM_PREFIX@setup_SOURCES=$(SOURCE_FILES)
|
|
endif
|
|
|
|
@PROGRAM_PREFIX@setup_LDADD = \
|
|
../wince/libc_wince.a \
|
|
../textscreen/libtextscreen.a \
|
|
@SDLMIXER_LIBS@ \
|
|
@LDFLAGS@
|
|
|
|
appdir = $(prefix)/share/applications
|
|
app_DATA = @PROGRAM_PREFIX@setup.desktop
|
|
|
|
@PROGRAM_PREFIX@setup.desktop : setup.desktop
|
|
cp $^ $@
|
|
|
|
.rc.o:
|
|
$(WINDRES) $^ -o $@
|
|
%.o : %.rc
|
|
$(WINDRES) $^ -o $@
|
|
|
|
if HAVE_PYTHON
|
|
|
|
setup_icon.c : ../data/setup8.ico
|
|
../data/convert-icon $^ $@
|
|
|
|
endif
|
|
|