grafX2/cfg_new/Makefile
Yves Rizoud 8ec86f1899 gfxcfg now uses SDL keysyms for input, you can test it to check how SDL understands keys on your platform. The utility still doesn't load gfx2.cfg, and still saves is badly.
Fixed more hardcoded scancodes (shade menu).


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@171 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-27 16:53:26 +00:00

20 lines
494 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 ../clavier.o
gcc gfxcfg.o ../clavier.o SFont.o -o gfxcfg $(LOPT)
gfxcfg.o: gfxcfg.c SFont.h
gcc -c gfxcfg.c -o gfxcfg.o $(COPT)
../clavier.o: ../clavier.c
gcc -c ../clavier.c -o ../clavier.o $(COPT)
SFont.o: SFont.h SFont.c
gcc -c SFont.c -o SFont.o $(COPT)