configure fix

This commit is contained in:
p.kosyh 2009-11-08 08:35:41 +00:00
parent 078b7aefa0
commit 1be9e98235
3 changed files with 4 additions and 5 deletions

View file

@ -11,6 +11,7 @@ clean:
@for dir in $(SUBDIRS); do \
$(MAKE) clean -C $$dir $(@) || exit 1; \
done;
echo "# you can define own flags here" > config.make
install: all
ifeq ($(SYSTEMSETUP), yes)

View file

@ -1,4 +1 @@
LUA_CFLAGS=$(shell pkg-config --cflags lua)
LUA_LFLAGS=$(shell pkg-config --libs lua)
SDL_CFLAGS=$(shell sdl-config --cflags)
SDL_LFLAGS=$(shell sdl-config --libs) -lSDL_ttf -lSDL_mixer -lSDL_image
# you can define own flags here

View file

@ -74,7 +74,8 @@ fi
echo ") ok"
rm /tmp/sdl-test.c
echo -n "Generating config.make..."
echo "LUA_CFLAGS=\$(shell $lua_cflags)" > config.make
echo "# autamatically generated by configure.sh" >config.make
echo "LUA_CFLAGS=\$(shell $lua_cflags)" >> config.make
echo "LUA_LFLAGS=\$(shell $lua_libs)" >> config.make
echo "SDL_CFLAGS=\$(shell sdl-config --cflags)" >> config.make
echo "SDL_LFLAGS=\$(shell sdl-config --libs) -lSDL_ttf -lSDL_mixer -lSDL_image" >> config.make