Mercurial > sdl-ios-xcode
view src/main/macos/exports/Makefile @ 720:f90d80d68071
N Sep 17 8791 Sam Lantinga Re: tks source released
Date: Sun, 07 Sep 2003 02:51:58 +0200
From: Stephane Marchesin
Subject: [SDL] Two little patches
Compiling SDL with a recent gcc (gcc 3.3.1, 3.3 doesn't have this
behaviour) gives some nasty warnings :
SDL_blit_A.c: In function `BlitRGBtoRGBSurfaceAlpha128MMX':
SDL_blit_A.c:223: warning: integer constant is too large for "long" type
SDL_blit_A.c:225: warning: integer constant is too large for "long" type
SDL_blit_A.c:227: warning: integer constant is too large for "long" type
[...]
The first attached patch (longlongfix.patch) tells gcc to really treat
those constants as unsigned long long and not long.
The second patch (nasinclude.patch) fixes an include problem I had while
compiling nas audio : when the <audio/audiolib.h> file lies in
/usr/X11R6/include, a -I/usr/X11R6/include option is needed or the file
isn't found.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 21 Sep 2003 18:32:04 +0000 |
parents | 12a21d82a060 |
children | 51b5e0be61c3 |
line wrap: on
line source
EXPORTS = SDL.x HEADERS = \ ../../../../include/SDL.h \ ../../../../include/SDL_active.h \ ../../../../include/SDL_audio.h \ ../../../../include/SDL_byteorder.h \ ../../../../include/SDL_cdrom.h \ ../../../../include/SDL_copying.h \ ../../../../include/SDL_endian.h \ ../../../../include/SDL_error.h \ ../../../../include/SDL_events.h \ ../../../../include/SDL_getenv.h \ ../../../../include/SDL_joystick.h \ ../../../../include/SDL_keyboard.h \ ../../../../include/SDL_keysym.h \ ../../../../include/SDL_loadso.h \ ../../../../include/SDL_mouse.h \ ../../../../include/SDL_mutex.h \ ../../../../include/SDL_quit.h \ ../../../../include/SDL_rwops.h \ ../../../../include/SDL_syswm.h \ ../../../../include/SDL_thread.h \ ../../../../include/SDL_timer.h \ ../../../../include/SDL_types.h \ ../../../../include/SDL_version.h \ ../../../../include/SDL_video.h all: $(EXPORTS) $(EXPORTS): $(HEADERS) perl gendef.pl $(HEADERS) >$@ || rm $@ clean: rm -f $(EXPORTS)