1 |
On Monday, August 23, 2010 17:01:10 Sebastian Pipping wrote: |
2 |
> CFLAGS=`sdl-config --cflags` -Wall -Wextra |
3 |
> LDFLAGS=`sdl-config --libs` |
4 |
|
5 |
SDL_CONFIG = sdl-config |
6 |
CPPFLAGS += `$(SDL_CONFIG) --cflags` |
7 |
CFLAGS += -Wall -Wextra |
8 |
LDLIBS += `$(SDL_CONFIG) --libs` |
9 |
|
10 |
although the SDL_CONFIG is crap anyways and you should be using autoconf |
11 |
|
12 |
and using gcc-specific-ish flags like -Wall -Wextra while not using GNU make |
13 |
seems kind of dumb. |
14 |
|
15 |
> Now how would we fix this to respect custom CFLAGS (and LDFLAGS) in a |
16 |
> way that does not require GNU make (i.e. simply-expanded variables): |
17 |
|
18 |
why is that a problem ? everyone and their dog has `gmake`. |
19 |
-mike |