changeset 3777:2de6d5295e53

Add warning options for librestrict. Helped fixing some nits.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Sun, 09 Sep 2007 20:00:56 +0200
parents 69079941c560
children e0fcb9fc5b43
files librestrict/GNUmakefile
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/librestrict/GNUmakefile	Sun Sep 09 20:00:35 2007 +0200
+++ b/librestrict/GNUmakefile	Sun Sep 09 20:00:56 2007 +0200
@@ -1,6 +1,6 @@
-
+CC = gcc -W -Wall
 librestrict.so: restrict.c 
-	gcc -shared -fPIC -o $@ $<
+	$(CC) -shared -fPIC -o $@ $<
 
 test-librestrict: restrict.c 
-	gcc -o $@ -DTEST_SELF $< 
+	$(CC) -o $@ -DTEST_SELF $<