Added tiger makefile

This commit is contained in:
Rob Pearce 2009-03-18 23:04:13 +00:00
parent 4f03d862c0
commit dac701d44a
1 changed files with 10 additions and 0 deletions

10
Makefile.tiger Normal file
View File

@ -0,0 +1,10 @@
all: rc edit
rc: rc.c shared.c rc.h shared.h globals.h defs.h
gcc -O3 -Wall -DREV=`./getsvnrev.sh` -o rc -g rc.c shared.c `sdl-config --cflags --libs` -I/usr/local/include -L/sw/lib -L/usr/local/lib -L/opt/local/lib -lSDLmain -lSDL -lSDL_image -lSDL_gfx -lSDL_ttf -lSDL_mixer
edit: edit.c shared.c edit.h shared.h globals.h defs.h
gcc -D__EDITOR -DREV=`./getsvnrev.sh` -Wall -o edit -g edit.c shared.c `sdl-config --cflags --libs` -I/usr/local/include -L/sw/lib -lSDLmain -lSDL -lSDL_image -lSDL_ttf -L/opt/local/lib -lSDL_gfx
app: rc
./makeapp.sh