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
17 lines
405 B
Makefile
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)
|