Files
prjxray/experiments/example/Makefile
T

26 lines
606 B
Makefile
Raw Normal View History

2020-04-16 10:15:28 +02:00
# Copyright (C) 2017-2020 The Project X-Ray Authors.
#
# Use of this source code is governed by a ISC-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/ISC
#
# SPDX-License-Identifier: ISC
2017-10-14 04:28:13 +02:00
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