CLIBS = $(shell sdl-config --libs)
CFLAGS = -O3 -Wall $(shell sdl-config --cflags)
Just curious… Is this how one can use sdl-config in general?
Yup, that’s what it’s there for.
See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software
CLIBS = $(shell sdl-config --libs)
CFLAGS = -O3 -Wall $(shell sdl-config --cflags)
Just curious… Is this how one can use sdl-config in general?
Yup, that’s what it’s there for.
See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software