diff options
Diffstat (limited to 'ice40/regressions/Makefile')
| -rw-r--r-- | ice40/regressions/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ice40/regressions/Makefile b/ice40/regressions/Makefile new file mode 100644 index 00000000..f723b04f --- /dev/null +++ b/ice40/regressions/Makefile @@ -0,0 +1,8 @@ +NPNR = ../../nextpnr-ice40 +JSON = $(wildcard */*.json) +OUTPUT = $(patsubst %.json,%.log,$(JSON)) + +all: $(NPNR) $(OUTPUT) + +%.log: %.json $(wildcard %.pcf) + $(NPNR) --json $(word 1,$^) $(if $(word 2,$^), --pcf $(word 2,$^),) > $@ 2>&1 |
