dungeon_crawler

diff prototype/Makefile @ 24:e122ba214ee1

implementing the command console
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 23 Aug 2012 18:03:11 +0300
parents fa8f89d06f6f
children 527fede30057
line diff
     1.1 --- a/prototype/Makefile	Thu Aug 23 00:10:10 2012 +0300
     1.2 +++ b/prototype/Makefile	Thu Aug 23 18:03:11 2012 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -csrc = $(wildcard src/*.c) $(wildcard vmath/*.c)
     1.5 +csrc = $(wildcard src/*.c) $(wildcard vmath/*.c) $(wildcard drawtext/*.c)
     1.6  ccsrc = $(wildcard src/*.cc) $(wildcard vmath/*.cc)
     1.7  obj = $(csrc:.c=.o) $(ccsrc:.cc=.o)
     1.8  dep = $(obj:.o=.d)
     1.9 @@ -8,9 +8,11 @@
    1.10  dbg = -g
    1.11  warn = -Wall -Wno-format-extra-args -Wno-char-subscripts
    1.12  
    1.13 -CFLAGS = -pedantic $(warn) $(dbg) $(opt) -Ivmath
    1.14 +inc = -Ivmath -Idrawtext `pkg-config --cflags freetype2`
    1.15 +
    1.16 +CFLAGS = -pedantic $(warn) $(dbg) $(opt) $(inc)
    1.17  CXXFLAGS = $(CFLAGS) -std=c++11
    1.18 -LDFLAGS = $(libgl) -lm -lassimp -limago
    1.19 +LDFLAGS = $(libgl) -lm -lassimp -limago `pkg-config --libs freetype2`
    1.20  
    1.21  ifeq ($(shell uname -s), Darwin)
    1.22  	libgl = -framework OpenGL -framework GLUT -lglew