configure fix
This commit is contained in:
parent
078b7aefa0
commit
1be9e98235
1
Makefile
1
Makefile
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue