changeset 12:61ca4934fb34

improved Makefile
author meillo@marmaro.de
date Sat, 14 Jun 2008 19:11:21 +0200
parents 7cc162bbff25
children c4834b4f4b54
files Makefile
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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}