Makefile fixes
[btb/d2x.git] / arch / sdl / Makefile.am
1 EXTRA_SUBDIRS = include
2
3 noinst_LIBRARIES = libarch_sdl.a
4
5 INCLUDES = -I$(top_srcdir)/arch/include -I$(top_srcdir)/includes -I$(top_srcdir)/main
6
7 CFLAGS += ${SDL_CFLAGS}
8
9 if USE_OPENGL
10 if MINGW32
11 libarch_sdl_a_SOURCES = cdrom.c digi.c event.c init.c joy.c joydefs.c key.c mouse.c timer.c
12 else
13 libarch_sdl_a_SOURCES = cdrom.c digi.c event.c init.c key.c mouse.c timer.c
14 endif
15 else
16 if MINGW32
17 libarch_sdl_a_SOURCES = cdrom.c digi.c event.c gr.c init.c joy.c joydefs.c key.c mouse.c timer.c
18 else
19 libarch_sdl_a_SOURCES = cdrom.c digi.c event.c gr.c init.c key.c mouse.c timer.c
20 endif
21 endif