From: ian Date: Wed, 11 Feb 2004 21:26:17 +0000 (+0000) Subject: make ours-l*.ps X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=4628b1770e37a4c735c755e4cd56175e9411c5ba;p=trains.git make ours-l*.ps --- diff --git a/pcb/Makefile b/pcb/Makefile index 7c86f99..b9c6aa9 100644 --- a/pcb/Makefile +++ b/pcb/Makefile @@ -2,15 +2,13 @@ M4INCS= parts.i4 E_TRACK= ArsCLMNo -LAYOUTOPTS_ALL= -ep=Cm -LAYOUTOPTS= -E$(E_TRACK) $(LAYOUTOPTS_ALL) +LAYOUTOPTS_ALL= -ep=*Cm +LAYOUTOPTS= -E=*$(E_TRACK) $(LAYOUTOPTS_ALL) default: ours-a.ps ours-al.ps parts.ps +layers: ours-l0.ps ours-l10.ps ours-l20.ps -all: default \ - ours-l0.ps \ - ours-l10.ps \ - ours-l20.ps +all: default layers o=>$@.new && mv -f $@.new $@ @@ -24,7 +22,7 @@ o=>$@.new && mv -f $@.new $@ ./layout <$< $(LAYOUTOPTS) '-e*C' '-ep=rm' $o ours-l%.ps: ours.d4 layout - ./layout <$< $(LAYOUTOPTS) $o + ./layout <$< -l$* $(LAYOUTOPTS) -e'*~=5cm' -e'*~=9rm' $o parts.ps: showlib.d4 layout ./layout <$< $(LAYOUTOPTS_ALL) $o diff --git a/pic.make b/pic.make index 7c86f99..b9c6aa9 100644 --- a/pic.make +++ b/pic.make @@ -2,15 +2,13 @@ M4INCS= parts.i4 E_TRACK= ArsCLMNo -LAYOUTOPTS_ALL= -ep=Cm -LAYOUTOPTS= -E$(E_TRACK) $(LAYOUTOPTS_ALL) +LAYOUTOPTS_ALL= -ep=*Cm +LAYOUTOPTS= -E=*$(E_TRACK) $(LAYOUTOPTS_ALL) default: ours-a.ps ours-al.ps parts.ps +layers: ours-l0.ps ours-l10.ps ours-l20.ps -all: default \ - ours-l0.ps \ - ours-l10.ps \ - ours-l20.ps +all: default layers o=>$@.new && mv -f $@.new $@ @@ -24,7 +22,7 @@ o=>$@.new && mv -f $@.new $@ ./layout <$< $(LAYOUTOPTS) '-e*C' '-ep=rm' $o ours-l%.ps: ours.d4 layout - ./layout <$< $(LAYOUTOPTS) $o + ./layout <$< -l$* $(LAYOUTOPTS) -e'*~=5cm' -e'*~=9rm' $o parts.ps: showlib.d4 layout ./layout <$< $(LAYOUTOPTS_ALL) $o diff --git a/spice/Makefile b/spice/Makefile index 7c86f99..b9c6aa9 100644 --- a/spice/Makefile +++ b/spice/Makefile @@ -2,15 +2,13 @@ M4INCS= parts.i4 E_TRACK= ArsCLMNo -LAYOUTOPTS_ALL= -ep=Cm -LAYOUTOPTS= -E$(E_TRACK) $(LAYOUTOPTS_ALL) +LAYOUTOPTS_ALL= -ep=*Cm +LAYOUTOPTS= -E=*$(E_TRACK) $(LAYOUTOPTS_ALL) default: ours-a.ps ours-al.ps parts.ps +layers: ours-l0.ps ours-l10.ps ours-l20.ps -all: default \ - ours-l0.ps \ - ours-l10.ps \ - ours-l20.ps +all: default layers o=>$@.new && mv -f $@.new $@ @@ -24,7 +22,7 @@ o=>$@.new && mv -f $@.new $@ ./layout <$< $(LAYOUTOPTS) '-e*C' '-ep=rm' $o ours-l%.ps: ours.d4 layout - ./layout <$< $(LAYOUTOPTS) $o + ./layout <$< -l$* $(LAYOUTOPTS) -e'*~=5cm' -e'*~=9rm' $o parts.ps: showlib.d4 layout ./layout <$< $(LAYOUTOPTS_ALL) $o