From: ian Date: Mon, 9 Aug 2004 01:44:59 +0000 (+0000) Subject: make picprogs target X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=83730cfee3d29c293ffb71a30590926c6eb77dad;p=trains.git make picprogs target --- diff --git a/pcb/Makefile b/pcb/Makefile index 90f57c0..015d28d 100644 --- a/pcb/Makefile +++ b/pcb/Makefile @@ -19,13 +19,19 @@ default: ours-a.ps ours-al.ps parts.ps layers: $(LAYERS) lpages: $(LPAGES) -all: default layers circuit.bom bulkres.bom divider-tables +all: default layers circuit.bom bulkres.bom divider-tables \ + picprogs o=>$@.new && mv -f $@.new $@ CIRCUITPARTS= control.partlist circuit.partlist BULKRESPARTS= bulkres-select.partlist bulkres-items.partlist +picprogs: flasher.hex + +%.hex: %.asm + gpasm -p 18f458 $< + circuit.bom: farnell-find $(CIRCUITPARTS) ./farnell-find bom $(CIRCUITPARTS) $o diff --git a/pic.make b/pic.make index 90f57c0..015d28d 100644 --- a/pic.make +++ b/pic.make @@ -19,13 +19,19 @@ default: ours-a.ps ours-al.ps parts.ps layers: $(LAYERS) lpages: $(LPAGES) -all: default layers circuit.bom bulkres.bom divider-tables +all: default layers circuit.bom bulkres.bom divider-tables \ + picprogs o=>$@.new && mv -f $@.new $@ CIRCUITPARTS= control.partlist circuit.partlist BULKRESPARTS= bulkres-select.partlist bulkres-items.partlist +picprogs: flasher.hex + +%.hex: %.asm + gpasm -p 18f458 $< + circuit.bom: farnell-find $(CIRCUITPARTS) ./farnell-find bom $(CIRCUITPARTS) $o diff --git a/spice/Makefile b/spice/Makefile index 90f57c0..015d28d 100644 --- a/spice/Makefile +++ b/spice/Makefile @@ -19,13 +19,19 @@ default: ours-a.ps ours-al.ps parts.ps layers: $(LAYERS) lpages: $(LPAGES) -all: default layers circuit.bom bulkres.bom divider-tables +all: default layers circuit.bom bulkres.bom divider-tables \ + picprogs o=>$@.new && mv -f $@.new $@ CIRCUITPARTS= control.partlist circuit.partlist BULKRESPARTS= bulkres-select.partlist bulkres-items.partlist +picprogs: flasher.hex + +%.hex: %.asm + gpasm -p 18f458 $< + circuit.bom: farnell-find $(CIRCUITPARTS) ./farnell-find bom $(CIRCUITPARTS) $o