Mercurial > sdl-ios-xcode
view src/joystick/Makefile.am @ 1118:65f4b2dd46b7
Date: Wed, 17 Aug 2005 11:23:40 -0400
From: Matt L <prometheus.uw@gmail.com>
To: "Ryan C. Gordon" <icculus@clutteredmind.org>
Subject: SDL Patch
Hio,
I saw your last call on the mailing list. Here's a patch which I
submitted about two weeks ago which hasn't made it in.
In the current sdl.m4, there's a bug where if your configure.ac, you
have AC_LANG(C++) specified, it won't properly compile and link the SDL
test program when you run the configure script. This is because only the
default CFLAGS is overriden in sdl.m4, and in the patch below, I've
fixed it so it overrides CXXFLAGS as well, allowing it to work with g++.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Thu, 18 Aug 2005 06:06:02 +0000 |
parents | 550bccdf04bd |
children |
line wrap: on
line source
## Makefile.am for the SDL joystick library noinst_LTLIBRARIES = libjoystick.la # Define which subdirectories need to be built SUBDIRS = @JOYSTICK_SUBDIRS@ DIST_SUBDIRS = dummy amigaos beos bsd darwin dc linux macos mint riscos win32 DRIVERS = @JOYSTICK_DRIVERS@ # Include the architecture-independent sources COMMON_SRCS = \ SDL_joystick.c \ SDL_joystick_c.h \ SDL_sysjoystick.h libjoystick_la_SOURCES = $(COMMON_SRCS) libjoystick_la_LIBADD = $(DRIVERS) libjoystick_la_DEPENDENCIES = $(DRIVERS)