diff --git a/Makefile.tiger b/Makefile.tiger new file mode 100644 index 0000000..0fa53c4 --- /dev/null +++ b/Makefile.tiger @@ -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