grafX2/cfg_new/Makefile
Yves Rizoud 77f3c5763e Work on directory handling in save/load,
Mingw support for the config utility, with a larger font I made some time ago (I hoped the e' would work for Be'zier curves, but no)


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@144 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-14 00:11:55 +00:00

17 lines
405 B
Makefile

ifdef COMSPEC
COPT = -Wall -O -g -ggdb -Dmain=SDL_main
LOPT = `sdl-config --libs` -lSDL_image -g
else
COPT = -c `sdl-config --cflags` -Wall -g
LOPT = `sdl-config --libs` -lSDL_image -lSDL_gfx -g
endif
gfxcfg: gfxcfg.o SFont.o
gcc gfxcfg.o SFont.o -o gfxcfg $(LOPT)
gfxcfg.o: gfxcfg.c SFont.h scancodes.h
gcc -c gfxcfg.c -o gfxcfg.o $(COPT)
SFont.o: SFont.h SFont.c
gcc -c SFont.c -o SFont.o $(COPT)