Make all the makefiles recursive.
This commit is contained in:
parent
8cfa40737a
commit
95fe88a5f4
@ -4,7 +4,6 @@ SHELL := bash
|
||||
.DELETE_ON_ERROR:
|
||||
MAKEFLAGS += --warn-undefined-variables
|
||||
MAKEFLAGS += --no-builtin-rules
|
||||
OUT=out
|
||||
SRCFILES := $(wildcard *.org)
|
||||
OUTFILES := $(patsubst %.org,%.tree.txt,$(SRCFILES))
|
||||
|
||||
|
@ -4,7 +4,8 @@ SHELL := bash
|
||||
.DELETE_ON_ERROR:
|
||||
MAKEFLAGS += --warn-undefined-variables
|
||||
MAKEFLAGS += --no-builtin-rules
|
||||
OUT=out
|
||||
SRCFILES := $(wildcard *.org)
|
||||
OUTFILES := $(patsubst %.org,%.tree.txt,$(SRCFILES))
|
||||
|
||||
ifeq ($(origin .RECIPEPREFIX), undefined)
|
||||
$(error This Make does not support .RECIPEPREFIX. Please use GNU Make 4.0 or later)
|
||||
@ -12,11 +13,11 @@ endif
|
||||
.RECIPEPREFIX = >
|
||||
|
||||
.PHONY: all
|
||||
all: paragraphs.tree.txt nested_paragraphs.tree.txt
|
||||
all: $(OUTFILES)
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
> rm -rf *.tree.txt
|
||||
> rm -rf $(OUTFILES)
|
||||
|
||||
%.tree.txt: %.org ../common.el ../dump_org_ast.bash
|
||||
> ../dump_org_ast.bash $< $@
|
||||
|
Loading…
Reference in New Issue
Block a user