libdrawtext
diff Makefile.in @ 74:838d473cf6cc
- properly supported building of no-freetype version, separately installed as libdrawtext-noft.whatever
- saving/loading glyphmaps now work correctly
- added nofreetype program in examples, to illustrate how to use libdrawtext-noft with prebuilt glyphmaps (see tools/font2glyphmap)
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 15 Apr 2014 05:10:39 +0300 |
parents | 55c034e70809 |
children | b567a6360491 |
line diff
1.1 --- a/Makefile.in Tue Apr 15 03:33:39 2014 +0300 1.2 +++ b/Makefile.in Tue Apr 15 05:10:39 2014 +0300 1.3 @@ -5,7 +5,6 @@ 1.4 abi = 0 1.5 rev = 0 1.6 1.7 -name = libdrawtext 1.8 lib_a = $(name).a 1.9 1.10 ifeq ($(shell uname -s), Darwin) 1.11 @@ -40,6 +39,9 @@ 1.12 %.d: %.c 1.13 @$(CPP) $(CFLAGS) -MM $< >$@ 1.14 1.15 +.PHONY: cleanobj 1.16 +cleanobj: 1.17 + rm -f $(obj) 1.18 1.19 .PHONY: clean 1.20 clean: 1.21 @@ -67,3 +69,23 @@ 1.22 rm -f $(PREFIX)/lib/$(linkname) 1.23 rm -f $(PREFIX)/lib/$(soname) 1.24 rm -f $(PREFIX)/include/drawtext.h 1.25 + 1.26 + 1.27 +.PHONY: both 1.28 +both: 1.29 + ./configure --disable-freetype 1.30 + $(MAKE) cleanobj 1.31 + $(MAKE) 1.32 + ./configure --enable-freetype 1.33 + $(MAKE) cleanobj 1.34 + $(MAKE) 1.35 + 1.36 +.PHONY: both-install 1.37 +both-install: 1.38 + ./configure --disable-freetype 1.39 + $(MAKE) cleanobj 1.40 + $(MAKE) install 1.41 + ./configure --enable-freetype 1.42 + $(MAKE) cleanobj 1.43 + $(MAKE) install 1.44 + $(MAKE) cleanobj