blob: 740d571504e0554e4a0e71b29f2b370453effaf6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
POST = $(shell find pre -name '*.h' | sed 's/^pre/post/')
all: $(POST)
$(POST): post/%: pre/%
@echo GEN $*
@mkdir -p $(@D)
@cc -std=c99 -E -P $< -o $@
clean:
rm -rf post
|