ossp-pkg/var/Makefile 1.5 -> 1.6
--- Makefile 2001/11/13 13:34:26 1.5
+++ Makefile 2001/11/13 14:36:30 1.6
@@ -5,9 +5,10 @@
RANLIB = ranlib
POD2MAN = pod2man
-WARNFLAGS = -Wall -pedantic
-OPTFLAGS = -g -pipe
-CPPFLAGS = -DDEBUG
+WARNFLAGS = -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align -Winline \
+ -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
+OPTFLAGS = -pipe -O4
+CPPFLAGS = #-DDEBUG
CFLAGS =
LDFLAGS =
@@ -29,6 +30,9 @@
var.3: var.pod
$(POD2MAN) var.pod >$@
+check: var_test
+ ./var_test && echo "All tests succeeed."
+
clean::
rm -f $(OBJS) libvarexp.a var_test.o var_test var.3
|
|