-
Notifications
You must be signed in to change notification settings - Fork 66
/
Makefile
23 lines (18 loc) · 625 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
ifndef GOWINHOME
$(error GOWINHOME is not set. Must be location of Gowin EDA Tools)
endif
.SECONDARY:
.PHONY: all clean
all: apycula/GW1N-1.pickle apycula/GW1N-9.pickle apycula/GW1N-4.pickle \
apycula/GW1NS-2.pickle apycula/GW1NS-4.pickle apycula/GW1N-9C.pickle \
apycula/GW1NZ-1.pickle apycula/GW2A-18.pickle apycula/GW2A-18C.pickle
%_stage1.pickle: apycula/tiled_fuzzer.py
python3 -m apycula.tiled_fuzzer $*
%_stage2.pickle: apycula/clock_fuzzer.py %_stage1.pickle
python3 -m apycula.clock_fuzzer $*
apycula/%.pickle: %_stage2.pickle
gzip -c $< > $@
clean:
rm -f *.json
rm -f *.pickle
rm -f apycula/*.pickle