Commit 3fb9ac93 authored by Rusty Russell's avatar Rusty Russell

Increase optimization level, and clean up Makefile warnings and

verbosity.
parent f933b8c3
......@@ -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)
......
......@@ -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)
......
......@@ -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)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment