Add weapon cycling bindings for mouse and joystick buttons. Add weapon cycling bindi...
[chocolate-doom.git] / setup / Makefile.am
blob91c7449a1d35ea5179cdb6366323fe0f8a9fcb8b
2 gamesdir = $(prefix)/games
4 AM_CFLAGS = -I../textscreen -I../src @SDLMIXER_CFLAGS@
6 games_PROGRAMS = chocolate-setup
8 SOURCE_FILES =                                  \
9     compatibility.c   compatibility.h           \
10     configfile.c      configfile.h              \
11     display.c         display.h                 \
12     joystick.c        joystick.h                \
13     keyboard.c        keyboard.h                \
14     m_argv.c          m_argv.h                  \
15     mainmenu.c                                  \
16     mouse.c           mouse.h                   \
17     multiplayer.c     multiplayer.h             \
18     sound.c           sound.h                   \
19     execute.c         execute.h                 \
20     txt_joybinput.c   txt_joybinput.h           \
21     txt_keyinput.c    txt_keyinput.h            \
22     txt_mouseinput.c  txt_mouseinput.h
24 EXTRA_DIST=                                     \
25     setup_icon.c                                \
26     setup-manifest.xml
28 if HAVE_WINDRES
29 chocolate_setup_SOURCES=$(SOURCE_FILES) setup-res.rc
30 else
31 chocolate_setup_SOURCES=$(SOURCE_FILES)
32 endif
34 chocolate_setup_LDADD =                              \
35                        ../wince/libc_wince.a         \
36                        ../textscreen/libtextscreen.a \
37                        @SDLMIXER_LIBS@               \
38                        @LDFLAGS@
40 .rc.o:
41         $(WINDRES) $^ -o $@
42 %.o : %.rc
43         $(WINDRES) $^ -o $@
45 if HAVE_PYTHON
47 setup_icon.c : ../data/setup8.ico
48         ../data/convert-icon $^ $@
50 endif