# Generated automatically from Makefile.in by configure.
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

CC = gcc
CXX = c++
SDL_JOYSTICK_SUBDIR = linux
LIBS = -lsball -lpng -ljpeg -lz -lglut -lGLU -lGL -lXi -lXm -lXp -lXext -lXt -lXmu -lX11 -lm -ldl  -L/usr/local/lib  -L/usr/X11R6/lib -L/usr/X11R6/LessTif/Motif1.2/lib

CFLAGS = -g -O2 -DUSE_INPUT_EVENTS -I$$PWD 
RANLIB = echo

OBJS =  mini_SDL_joystick.o $(SDL_JOYSTICK_SUBDIR)/SDL_sysjoystick.o

libSDLjoystick.a: $(OBJS) 
	if test -f SDL_sysjoystick.o ; then mv SDL_sysjoystick.o $(SDL_JOYSTICK_SUBDIR)/SDL_sysjoystick.o ; fi 
	ar -r $@ $(OBJS)
	$(RANLIB) $@ 

joysticktest: joysticktest.c libSDLjoystick.a
	cc -o $@ $(CFLAGS) joysticktest.c libSDLjoystick.a $(LIBS)

clean:
	rm -f joysticktest libSDLjoystick.a *.o */*.o

depend: 
	cc -M -I$$PWD $(SDL_JOYSTICK_SUBDIR)/SDL_sysjoystick.c >> Makefile

# do not delete 

SDL_sysjoystick.o: linux/SDL_sysjoystick.c /usr/include/stdio.h \
  /usr/include/features.h /usr/include/sys/cdefs.h \
  /usr/include/gnu/stubs.h \
  /usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include/stddef.h \
  /usr/include/bits/types.h /usr/include/bits/wordsize.h \
  /usr/include/bits/typesizes.h /usr/include/libio.h \
  /usr/include/_G_config.h /usr/include/wchar.h /usr/include/bits/wchar.h \
  /usr/include/gconv.h \
  /usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include/stdarg.h \
  /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  /usr/include/stdlib.h /usr/include/sys/types.h /usr/include/time.h \
  /usr/include/endian.h /usr/include/bits/endian.h \
  /usr/include/sys/select.h /usr/include/bits/select.h \
  /usr/include/bits/sigset.h /usr/include/bits/time.h \
  /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \
  /usr/include/bits/sched.h /usr/include/alloca.h /usr/include/string.h \
  /usr/include/sys/stat.h /usr/include/bits/stat.h /usr/include/unistd.h \
  /usr/include/bits/posix_opt.h /usr/include/bits/confname.h \
  /usr/include/getopt.h /usr/include/fcntl.h /usr/include/bits/fcntl.h \
  /usr/include/sys/ioctl.h /usr/include/bits/ioctls.h \
  /usr/include/asm/ioctls.h /usr/include/asm/ioctl.h \
  /usr/include/asm-generic/ioctl.h /usr/include/bits/ioctl-types.h \
  /usr/include/sys/ttydefaults.h \
  /usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include/limits.h \
  /usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include/syslimits.h \
  /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  /usr/include/bits/posix2_lim.h /usr/include/linux/joystick.h \
  /usr/include/asm/types.h /usr/include/linux/input.h \
  /usr/include/sys/time.h \
  /home/mufti/white_dune-0.28pl13/src/SDLjoystick/SDL_error.h \
  /home/mufti/white_dune-0.28pl13/src/SDLjoystick/SDL_joystick.h \
  /home/mufti/white_dune-0.28pl13/src/SDLjoystick/SDL_types.h \
  /home/mufti/white_dune-0.28pl13/src/SDLjoystick/begin_code.h \
  /home/mufti/white_dune-0.28pl13/src/SDLjoystick/close_code.h \
  /home/mufti/white_dune-0.28pl13/src/SDLjoystick/SDL_sysjoystick.h \
  /home/mufti/white_dune-0.28pl13/src/SDLjoystick/SDL_joystick_c.h
