X-Git-Url: http://git.mutantstargoat.com?a=blobdiff_plain;f=Makefile;h=24b19899185b0d512dec8c19e58740055e7025ca;hb=e2626c41c841dbbfb64ddf6341b4e23089036299;hp=ad3fd6c480e5226ef1931d1950e0c52b08026887;hpb=abae46cd0e399d6778fc23f8c719547c16bf2535;p=winnie diff --git a/Makefile b/Makefile index ad3fd6c..24b1989 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ dbg = -g opt = -O0 inc = -Isrc -#backend = SDL +backend = SDL ifeq ($(backend), SDL) def = -DWINNIE_SDL @@ -17,8 +17,8 @@ else endif CXX = g++ -CXXFLAGS = -pedantic -Wall $(dbg) $(opt) $(inc) $(def) -LDFLAGS = $(libs) +CXXFLAGS = -pedantic -Wall $(dbg) $(opt) $(inc) $(def) `freetype-config --cflags` +LDFLAGS = $(libs) `freetype-config --libs` -lrt $(bin): $(obj) $(CXX) -o $@ $(obj) $(LDFLAGS)