building with SDL
git-svn-id: svn://anubis/anaglym/trunk@15 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
parent
99d01b9f26
commit
c9875f53b4
7
Makefile
7
Makefile
@ -19,8 +19,11 @@ ifeq ($(strip $(LUALIBS)),)
|
|||||||
LUALIBS := -llua5.1
|
LUALIBS := -llua5.1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CPPFLAGS := $(LUAINCLUDE)
|
SDLINCLUDE := `sdl-config --cflags`
|
||||||
LDFLAGS := $(LUALIBS) -lGL -lGLU
|
SDLLIBS := `sdl-config --libs`
|
||||||
|
|
||||||
|
CPPFLAGS := $(LUAINCLUDE) $(SDLINCLUDE)
|
||||||
|
LDFLAGS := $(LUALIBS) $(SDLLIBS) -lGL -lGLU
|
||||||
|
|
||||||
All: $(TARGET)
|
All: $(TARGET)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user