mirror of
https://github.com/openXC7/prjxray.git
synced 2026-09-07 03:21:46 +02:00
Signed-off-by: Rick Altherr <[email protected]> Signed-off-by: Tim 'mithro' Ansell <[email protected]>
21 lines
422 B
Makefile
21 lines
422 B
Makefile
|
|
N := 1
|
|
SPECIMENS := $(addprefix specimen_,$(shell seq -f '%03.0f' $(N)))
|
|
SPECIMENS_OK := $(addsuffix /OK,$(SPECIMENS))
|
|
|
|
database: $(SPECIMENS_OK)
|
|
cp specimen_001/tilegrid.json tilegrid.json
|
|
|
|
pushdb:
|
|
cp tilegrid.json ${XRAY_DATABASE_DIR}/$(XRAY_DATABASE)/tilegrid.json
|
|
|
|
$(SPECIMENS_OK):
|
|
bash generate.sh $(subst /OK,,$@)
|
|
touch $@
|
|
|
|
clean:
|
|
rm -rf specimen_[0-9][0-9][0-9]/ tilegrid.json
|
|
|
|
.PHONY: database pushdb clean
|
|
|