Browse Source

Increase optimization level, and clean up Makefile warnings and
verbosity.

Rusty Russell 17 years ago
parent
commit
3fb9ac9349
3 changed files with 3 additions and 2 deletions
  1. 0 1
      Makefile
  2. 1 1
      Makefile-ccan
  3. 2 0
      Makefile-web

+ 0 - 1
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)

+ 1 - 1
Makefile-ccan

@@ -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)

+ 2 - 0
Makefile-web

@@ -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)