dungeon_crawler
diff prototype/Makefile.in @ 67:2560a7ab0243
internalized libanim, libimago2, and libpsys
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 07 Oct 2012 02:04:00 +0300 |
parents | aa86119e3295 |
children |
line diff
1.1 --- a/prototype/Makefile.in Tue Oct 02 13:42:18 2012 +0300 1.2 +++ b/prototype/Makefile.in Sun Oct 07 02:04:00 2012 +0300 1.3 @@ -1,5 +1,8 @@ 1.4 csrc = $(wildcard src/*.c) \ 1.5 $(wildcard vmath/*.c) \ 1.6 + $(wildcard imago2/*.c) \ 1.7 + $(wildcard anim/*.c) \ 1.8 + $(wildcard psys/*.c) \ 1.9 $(wildcard drawtext/*.c) \ 1.10 $(wildcard kdtree/*.c) 1.11 1.12 @@ -13,13 +16,16 @@ 1.13 1.14 warn = -Wall -Wno-format-extra-args -Wno-char-subscripts 1.15 1.16 -inc = -I. -Isrc -Ivmath -Idrawtext -Ikdtree `pkg-config --cflags freetype2` 1.17 +inc = -I. -Isrc -Ivmath -Iimago2 -Idrawtext -Ikdtree `pkg-config --cflags freetype2` 1.18 1.19 CFLAGS = -pedantic -fno-strict-aliasing $(warn) $(dbg) $(prof) $(opt) $(inc) 1.20 CXXFLAGS = $(CFLAGS) $(cxx11_cflags) 1.21 -LDFLAGS = $(cxx11_ldflags) $(prof) $(libgl) $(libal) -lvorbisfile -lm -lassimp -limago -lpsys `pkg-config --libs freetype2` 1.22 +LDFLAGS = $(cxx11_ldflags) $(prof) $(libgl) $(libal) -lvorbisfile -lm -lassimp \ 1.23 + -ljpeg -lpng -lz `pkg-config --libs freetype2` 1.24 1.25 ifeq ($(shell uname -s), Darwin) 1.26 + CC = clang 1.27 + CXX = clang++ 1.28 libgl = -framework OpenGL -framework GLUT -lglew 1.29 libal = -framework OpenAL 1.30 else