]> git.tdb.fi Git - ttf2png.git/blobdiff - Makefile
Enable compiler optimizations and fix some warnings
[ttf2png.git] / Makefile
index 6219108db9c0b7237eef8285dcd2ae8957c2fa9e..cfe0ee0725fce1054130099129fd31d52c5f04f0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 ttf2png: ttf2png.c
-       gcc -Wall $^ -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