libdrawtext
diff examples/unicode/Makefile @ 9:9d44f6b0591f
fixed for macosx
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 20 Sep 2011 15:16:35 +0300 |
parents | 17fed026b24b |
children | 805936da8d6b |
line diff
1.1 --- a/examples/unicode/Makefile Sun Sep 18 14:18:25 2011 +0300 1.2 +++ b/examples/unicode/Makefile Tue Sep 20 15:16:35 2011 +0300 1.3 @@ -5,19 +5,20 @@ 1.4 CFLAGS = -pedantic -Wall -g -I../../src 1.5 LDFLAGS = -L. -ldrawtext $(libgl) 1.6 1.7 -lib_so = libdrawtext.so 1.8 fonts = serif.ttf cjk.ttf klingon.ttf 1.9 1.10 ifeq ($(shell uname -s), Darwin) 1.11 libgl = -framework OpenGL -framework GLUT 1.12 + lib_so = libdrawtext.dylib 1.13 else 1.14 libgl = -lGL -lGLU -lglut 1.15 + lib_so = libdrawtext.so.0.0 1.16 endif 1.17 1.18 $(bin): $(obj) $(lib_so) $(fonts) 1.19 $(CC) -o $@ $(obj) $(LDFLAGS) 1.20 1.21 -$(lib_so): ../../libdrawtext.so.0.0 1.22 +$(lib_so): ../../$(lib_so) 1.23 rm -f $@ 1.24 ln -s $< $@ 1.25