]> git.tdb.fi Git - ttf2png.git/blobdiff - Makefile
Enable compiler optimizations and fix some warnings
[ttf2png.git] / Makefile
index 0bc7aad4364163f75f15b4b6ee627644d939fe10..cfe0ee0725fce1054130099129fd31d52c5f04f0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 ttf2png: ttf2png.c
-       gcc -Wall -Wextra -Werror -std=c89 -pedantic $^ -o $@ $(shell freetype-config --cflags --libs) $(shell pkg-config --cflags --libs libpng12)
+       gcc -Wall -Wextra -Werror -std=c89 -pedantic -O2 $^ -o $@ $(shell freetype-config --cflags --libs) $(shell pkg-config --cflags --libs libpng12)
 
 VER=0.3