resize-gd
diff Makefile @ 12:61ca4934fb34
improved Makefile
author | meillo@marmaro.de |
---|---|
date | Sat, 14 Jun 2008 19:11:21 +0200 |
parents | aa24986b8969 |
children |
line diff
1.1 --- a/Makefile Sat Jun 14 18:09:22 2008 +0200 1.2 +++ b/Makefile Sat Jun 14 19:11:21 2008 +0200 1.3 @@ -6,7 +6,7 @@ 1.4 VERSION=$(shell cat *.c | sed -n '/define[ \t]*VERSION/ s/.*"\([^"]*\)".*/\1/p' ) 1.5 NV=${NAME}-${VERSION} 1.6 1.7 -DOCS = 1.8 +DOCS = COPYRIGHT ChangeLog 1.9 1.10 # paths 1.11 PREFIX = /usr/local 1.12 @@ -18,8 +18,8 @@ 1.13 LD = ${CC} 1.14 DEBUG = -g 1.15 LIBS = -lgd 1.16 -CFLAGS = -Wall -pedantic -c ${DEBUG} 1.17 -LDFLAGS = -Wall -pedantic ${DEBUG} $(LIBS) 1.18 +CFLAGS = -Wall -ansi -pedantic -c ${DEBUG} 1.19 +LDFLAGS = -Wall -ansi -pedantic ${DEBUG} $(LIBS) 1.20 1.21 # files 1.22 SRC=resize-gd.c 1.23 @@ -101,4 +101,4 @@ 1.24 1.25 .PHONY: realclean 1.26 realclean: clean 1.27 - rm -f ${NAME} ChangeLog 1.28 + rm -f ${NAME}