# 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 = @CC@ CXX = @CXX@ SDL_JOYSTICK_SUBDIR = @SDL_JOYSTICK_SUBDIR@ LIBS = @LIBS@ CFLAGS = @CFLAGS@ -I$$PWD @CPPFLAGS@ RANLIB = @RANLIB@ 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