blob: d5eebfbf2c441548ee7568a07684904bb37fc106 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
gamesdir = $(prefix)/games
AM_CFLAGS = @SDL_CFLAGS@ -I../textscreen -I../src -DINSTALL_DIR="\"$(gamesdir)\""
games_PROGRAMS = chocolate-setup
chocolate_setup_LDADD = ../textscreen/libtextscreen.a @LDFLAGS@ @SDL_LIBS@
SOURCE_FILES = \
compatibility.c compatibility.h \
configfile.c configfile.h \
display.c display.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_keyinput.c txt_keyinput.h \
txt_mouseinput.c txt_mouseinput.h
EXTRA_DIST= \
chocolate_setup_icon.c
if HAVE_WINDRES
chocolate_setup_SOURCES=$(SOURCE_FILES) chocolate-setup-res.rc
else
chocolate_setup_SOURCES=$(SOURCE_FILES)
endif
.rc.o:
$(WINDRES) $^ -o $@
%.o : %.rc
$(WINDRES) $^ -o $@
if HAVE_PYTHON
chocolate_setup_icon.c : ../data/chocolate-setup.png
../data/convert-icon $^ $@
endif
|