On Monday, August 23, 2010 17:01:10 Sebastian Pipping wrote:
>   CFLAGS=`sdl-config --cflags` -Wall -Wextra
>   LDFLAGS=`sdl-config --libs`

SDL_CONFIG = sdl-config
CPPFLAGS += `$(SDL_CONFIG) --cflags`
CFLAGS += -Wall -Wextra
LDLIBS += `$(SDL_CONFIG) --libs`

although the SDL_CONFIG is crap anyways and you should be using autoconf

and using gcc-specific-ish flags like -Wall -Wextra while not using GNU make 
seems kind of dumb.

> Now how would we fix this to respect custom CFLAGS (and LDFLAGS) in a
> way that does not require GNU make (i.e. simply-expanded variables):

why is that a problem ?  everyone and their dog has `gmake`.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to