From: Rusty Russell Date: Tue, 13 Jan 2009 13:00:50 +0000 (+1030) Subject: Increase optimization level, and clean up Makefile warnings and X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=3fb9ac9349703401a6b2c3e969f3bc9bdb9d1eae Increase optimization level, and clean up Makefile warnings and verbosity. --- diff --git a/Makefile b/Makefile index 888afcad..146a516a 100644 --- 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) diff --git a/Makefile-ccan b/Makefile-ccan index b2e39078..0396ac22 100644 --- a/Makefile-ccan +++ b/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) diff --git a/Makefile-web b/Makefile-web index 7093a48d..d8790626 100644 --- a/Makefile-web +++ b/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)