3 SDL_FLAGS
=`pkg-config sdl --cflags`
4 SDL_LIBS
=`pkg-config sdl --libs`
6 SDM_FLAGS
=`pkg-config SDL_mixer --cflags`
7 SDM_LIBS
=`pkg-config SDL_mixer --libs`
14 ptmp
=`basename "$1" .c`
17 gcc
-pipe -O2 -Wall -std=gnu99
-Isrc ${SDL_FLAGS} ${SDM_FLAGS} -s -c -o "${pdst}" "$1"
18 linklist="${linklist} ${pdst}"
25 gcc -s ${SDL_LIBS} ${SDM_LIBS} -o "$1" ${linklist}
34 rm -rf _bld 2>/dev/null
39 saved_linklist="${linklist}"
42 linklist="${saved_linklist}"
44 compile src/librnc/librnc.c
45 compile src/libwdx/libwdx.c
49 compile src/gameglobals.c
50 compile src/mainloop.c
58 ./awasm asm/awlogic.awa data/code/awish.vmd
60 rm -rf _bld 2>/dev/null