Root/
| 1 | BOOM=PATH=/home/moko/svn.openmoko.org/trunk/eda/boom:../boom:$$PATH boom |
| 2 | |
| 3 | KITS = 1 |
| 4 | |
| 5 | EQU = $(shell ../boom-config equ) |
| 6 | INV = $(shell ../boom-config inv) |
| 7 | DSC = $(shell ../boom-config dsc) |
| 8 | CHR = $(shell ../boom-config chr) |
| 9 | |
| 10 | |
| 11 | .PHONY: all show again spotless |
| 12 | |
| 13 | all: show |
| 14 | |
| 15 | show: test.ord $(DSC) |
| 16 | $(BOOM) prettyord -t $^ |
| 17 | |
| 18 | again: |
| 19 | $(MAKE) spotless |
| 20 | $(MAKE) all |
| 21 | |
| 22 | test.ord: test.par $(INV) $(EQU) |
| 23 | $(BOOM) part2order $(KITS) $^ >$@ || { rm -f $@; exit 1; } |
| 24 | |
| 25 | test.par: $(EQU) $(INV) $(CHR) test.lst test.sub |
| 26 | $(BOOM) bom2part $^ >$@ || { rm -f $@; exit 1; } |
| 27 | |
| 28 | test.lst: test.mbq |
| 29 | perl ../mbq2lst $^ >$@ || { rm -f $@; exit 1; } |
| 30 | |
| 31 | spotless: |
| 32 | rm -f test.lst test.par test.ord |
| 33 |
Branches:
master
