update to SDL2
This commit is contained in:
1 parent
27487dd243
commit
bbfeeae732
2 files changed
+19
-13
No files matched your search
@@ -1,15 +1,15 @@
|
||||
FILE := sdl_tmplt
|
||||
TARGET := $(FILE)
|
||||
|
||||
CFLAGS := $(shell sdl-config --cflags)
|
||||
CFLAGS := $(shell sdl2-config --cflags)
|
||||
ifdef WIN32
|
||||
LIBS := -lopengl32 -lglu32 -lmingw32
|
||||
CC := mingw32-gcc
|
||||
TARGET := $(TARGET).exe
|
||||
else
|
||||
LIBS := -lGL -lGLU `sdl-config --libs`
|
||||
LIBS := -lGL -lGLU `sdl2-config --libs`
|
||||
endif
|
||||
LDFLAGS := $(LIBS) $(shell sdl-config --libs)
|
||||
LDFLAGS := $(LIBS) $(shell sdl2-config --libs)
|
||||
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
Reference in new issue
Block a user