]> git.tdb.fi Git - ttf2png.git/blob - Makefile
Version 0.3
[ttf2png.git] / Makefile
1 ttf2png: ttf2png.c
2         gcc -Wall $^ -o $@ $(shell freetype-config --cflags --libs) $(shell pkg-config --cflags --libs libpng12)
3
4 VER=0.3
5
6 .PHONY: tarball
7 tarball: ttf2png-$(VER).tar.gz
8 ttf2png-$(VER).tar.gz: ttf2png.c Readme Makefile gpl.txt
9         rm -rf ttf2png-$(VER)
10         mkdir ttf2png-$(VER)
11         cp -a $^ ttf2png-$(VER)
12         tar -czf $@ ttf2png-$(VER)
13         rm -rf ttf2png-$(VER)