1 # This file is used for common development targets that can be done with
2 # needing the cumbersome bootstrapping process.
4 # You can use it like this:
6 # make -f .makefile indent
8 # If you copy or link this file to `GNUmakefile` then you can just do:
12 # When copied to `GNUmakefile`, this file is can also be used for bootstrapping
13 # Makefile targets. Since GNUmakefile is loaded before Makefile, we do the
14 # bootstrapping tasks need to get a Makefile first, then we use the Makefile to
26 # SOURCE_FILES := $(shell find . | grep '\.c$$')
27 SOURCE_FILES := $(shell find tests/run-test-suite | grep '\.c$$')
28 ifneq ($(shell which gindent),)
39 # Proxy these targets to the real Makefile, after bootstrapping is necessary.
40 $(MAKE_TARGETS): Makefile
50 # Development make targets:
53 $(INDENT) $(SOURCE_FILES)
56 rm -fr tests/run-test-suite/data
57 git clean -dxf -e GNUmakefile