# HG changeset patch # User meillo@marmaro.de # Date 1213463481 -7200 # Node ID 61ca4934fb34ea0fd6def8aa4b579a732f123a42 # Parent 7cc162bbff25913613c51d4d2c57aaef717dd197 improved Makefile diff -r 7cc162bbff25 -r 61ca4934fb34 Makefile --- a/Makefile Sat Jun 14 18:09:22 2008 +0200 +++ b/Makefile Sat Jun 14 19:11:21 2008 +0200 @@ -6,7 +6,7 @@ VERSION=$(shell cat *.c | sed -n '/define[ \t]*VERSION/ s/.*"\([^"]*\)".*/\1/p' ) NV=${NAME}-${VERSION} -DOCS = +DOCS = COPYRIGHT ChangeLog # paths PREFIX = /usr/local @@ -18,8 +18,8 @@ LD = ${CC} DEBUG = -g LIBS = -lgd -CFLAGS = -Wall -pedantic -c ${DEBUG} -LDFLAGS = -Wall -pedantic ${DEBUG} $(LIBS) +CFLAGS = -Wall -ansi -pedantic -c ${DEBUG} +LDFLAGS = -Wall -ansi -pedantic ${DEBUG} $(LIBS) # files SRC=resize-gd.c @@ -101,4 +101,4 @@ .PHONY: realclean realclean: clean - rm -f ${NAME} ChangeLog + rm -f ${NAME}