Check-in Number:
|
1316 | |
Date: |
2001-Nov-13 15:36:30 (local)
2001-Nov-13 14:36:30 (UTC) |
User: | simons |
Branch: | |
Comment: |
Edited Makefile for production compilation. |
Tickets: |
|
Inspections: |
|
Files: |
|
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
|
|