move SDL_LIBS to LIBS, SDL_CFLAGS to CFLAGS
[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 if USE_OPENGL
8 if MINGW32
9 libarch_sdl_a_SOURCES = cdrom.c digi.c event.c init.c joy.c joydefs.c key.c mouse.c timer.c
10 else
11 libarch_sdl_a_SOURCES = cdrom.c digi.c event.c init.c key.c mouse.c timer.c
12 endif
13 else
14 if MINGW32
15 libarch_sdl_a_SOURCES = cdrom.c digi.c event.c gr.c init.c joy.c joydefs.c key.c mouse.c timer.c
16 else
17 libarch_sdl_a_SOURCES = cdrom.c digi.c event.c gr.c init.c key.c mouse.c timer.c
18 endif
19 endif