configuration fixes
[btb/d2x.git] / input / Makefile.am
1 noinst_LIBRARIES = libinput.a
2 INCLUDES = -I $(top_srcdir)/includes -I $(top_srcdir)/main
3
4 libinput_a_SOURCES = sdl_event.c sdl_key.c sdl_mouse.c \
5 ggi_event.c ggi_key.c ggi_mouse.c \
6 dos_key.c dos_joyc.c dos_joydefs.c dos_mouse.c \
7 linux_joydefs.c linux_joystick.c \
8 svgalib_event.c svgalib_key.c svgalib_mouse.c svgalib_init.c
9
10 SUFFIXES = .asm
11 %.o: %.asm
12         $(NASM) $(NASMFLAGS) $< -o $@
13
14 if ENV_DJGPP
15 libinput_a_LIBADD += dos_joy2.o
16 endif