diff --git a/Makefile b/Makefile index 6b8138e..f8a306e 100644 --- a/Makefile +++ b/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) diff --git a/config.make b/config.make index b354230..0bc433b 100644 --- a/config.make +++ b/config.make @@ -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 diff --git a/configure.sh b/configure.sh index d1c9ecd..0e33c7b 100755 --- a/configure.sh +++ b/configure.sh @@ -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