Skip to content

Commit

Permalink
Upgrade to SDL2.
Browse files Browse the repository at this point in the history
  • Loading branch information
dulsi committed Jul 13, 2016
1 parent e5ca544 commit a6b04ba
Show file tree
Hide file tree
Showing 4 changed files with 317 additions and 79 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
SDL_CFLAGS := $(shell sdl-config --cflags)
SDL_LDFLAGS := $(shell sdl-config --libs)
SDL_CFLAGS := $(shell pkg-config --cflags sdl2 SDL2_image SDL2_mixer SDL2_ttf)
SDL_LDFLAGS := $(shell pkg-config --libs sdl2 SDL2_image SDL2_mixer SDL2_ttf)

CXX = g++
CC = gcc
CXXFLAGS = -g -DSDLLIB $(SDL_CFLAGS) -Isrc/ --std=c++11
LIBS = $(SDL_LDFLAGS) --std=c++11 -lSDL_image -lSDL_mixer -lexpat -lSDL_ttf -lphysfs \
LIBS = $(SDL_LDFLAGS) --std=c++11 -lexpat -lphysfs \
-lboost_filesystem -lboost_system -lpng -lSDL_mng

BTBUILDER_OBJ = src/file.o src/dice.o src/monster.o src/spell.o src/item.o \
Expand Down
Loading

0 comments on commit a6b04ba

Please sign in to comment.