Increase optimization level, and clean up Makefile warnings and
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 13 Jan 2009 13:00:50 +0000 (23:30 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 13 Jan 2009 13:00:50 +0000 (23:30 +1030)
verbosity.

Makefile
Makefile-ccan
Makefile-web

index 888afcad8ac98ad07d3e989023cba96e5149e511..146a516ac97f0ba9f1028a9ec2bf80664fde178f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,6 @@ ALL_DEPENDS=$(patsubst %, ccan/%/.depends, $(ALL))
 include Makefile-ccan
 
 check: $(ALL_DIRS:%=test-%)
-       echo $(ALL_DIRS)
 
 distclean: clean
        rm -f $(ALL_DEPENDS)
index b2e390785b609393eeeb6e87701cbfa88f45e61a..0396ac22c1fe4410399279e7e1dd900b4160eeef 100644 (file)
@@ -2,7 +2,7 @@
 # You could just do:
 #      SRCFILES += $(shell find ccan/ -name '[a-z]*.c')
 
-CFLAGS=-g -O2 -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Werror -I.
+CFLAGS=-g -O3 -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Werror -I.
 
 CFILES=$(wildcard ccan/*/[a-z]*.c)
 OBJFILES=$(CFILES:.c=.o)
index 7093a48d162457caeb9ffc5e0c691af9ebd76f43..d8790626db53b7232def7a39219ee1ed413d8134 100644 (file)
@@ -58,4 +58,6 @@ $(WEBDIR)/tarballs/with-deps/%.tar.bz2: ccan/% ccan/%/test tools/ccan_depends
        tar cvfj $@ $$(echo ccan/$* $$(tools/ccan_depends ccan/$*) | xargs -n 1 bzr ls --versioned --kind=file)
 
 distclean: distclean-web
+
+distclean-web:
        rm -rf $(WEBDIR)