3 prefix=${0%/bin/sdl-config}
6 libdir=${exec_prefix}/lib
9 #Usage: sdl-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs]"
11 Usage: sdl-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs] [--static-libs]"
13 if test $# -eq 0; then
18 while test $# -gt 0; do
20 -*=*) optarg=`echo "$1" | LC_ALL="C" sed 's/[-_a-zA-Z0-9]*=//'` ;;
27 if test $exec_prefix_set = no ; then
45 echo -I${prefix}/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main
48 # echo -L${exec_prefix}/lib -lmingw32 -lSDLmain -lSDL -mwindows
52 echo -L${exec_prefix}/lib -lmingw32 -lSDLmain -lSDL -mwindows -lm -luser32 -lgdi32 -lwinmm