mirror of https://github.com/openXC7/prjxray.git
19 lines
372 B
Makefile
19 lines
372 B
Makefile
|
|
N := 10
|
|
SPECIMENS := $(addprefix specimen_,$(shell seq -f '%03.0f' $(N)))
|
|
SPECIMENS_OK := $(addsuffix /OK,$(SPECIMENS))
|
|
|
|
database.txt: $(SPECIMENS_OK)
|
|
cat $(addsuffix /segdata.txt,$(SPECIMENS)) | ../../tools/segmatch > database.new
|
|
mv database.new database.txt
|
|
|
|
$(SPECIMENS_OK):
|
|
bash generate.sh $(subst /OK,,$@)
|
|
touch $@
|
|
|
|
clean:
|
|
rm -rf $(SPECIMENS)
|
|
|
|
.PHONY: clean
|
|
|