Skip to content

Commit 650c775

Browse files
author
Rusty Russell
committedJun 2, 2008
Move modules to ccan/ tools to tools/
Requires minor fixups. "depends" now prefixes ccan/ (allows for non-ccan deps later).
1 parent c8acdde commit 650c775

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+76
-77
lines changed
 

‎Makefile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Hacky makefile to compile everything and run the tests in some kind of sane order.
22
# V=--verbose for verbose tests.
33

4-
CFLAGS=-O3 -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Werror -I.
4+
CFLAGS=-O3 -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Werror -Iccan -I.
55

6-
ALL=$(patsubst %/test, %, $(wildcard */test))
6+
ALL=$(patsubst ccan/%/test, ccan/%, $(wildcard ccan/*/test))
77
ALL_DEPENDS=$(patsubst %, %/.depends, $(ALL))
88

99
test-all: $(ALL_DEPENDS)
@@ -16,13 +16,13 @@ distclean: clean
1616
$(ALL_DEPENDS): %/.depends: %/_info
1717
@$< depends > $@ || ( rm -f $@; exit 1 )
1818

19-
test-%: ccan_tools/run_tests
19+
test-ccan/%: tools/run_tests
2020
@echo Testing $*...
21-
@if ccan_tools/run_tests $(V) $* | grep ^'not ok'; then exit 1; else exit 0; fi
21+
@if tools/run_tests $(V) ccan/$* | grep ^'not ok'; then exit 1; else exit 0; fi
2222

23-
ccanlint: ccan_tools/ccanlint/ccanlint
23+
ccanlint: tools/ccanlint/ccanlint
2424

25-
clean: ccan_tools-clean
26-
rm -f `find . -name '*.o'`
25+
clean: tools-clean
26+
rm -f `find . -name '*.o'` `find . -name '.depends'`
2727

28-
include ccan_tools/Makefile
28+
include tools/Makefile

‎README

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
ccan_tools:
1+
tools:
22
This is currently a bootstrap junkyard for ccan tools.
33

44
It is expected that some of this code, being generally useful, will be
55
shuffled out to their own modules over time.
66

7-
other:
7+
ccan:
88
The beginnings of a ccan repository.

0 commit comments

Comments
 (0)