From 83730cfee3d29c293ffb71a30590926c6eb77dad Mon Sep 17 00:00:00 2001 From: ian Date: Mon, 9 Aug 2004 01:44:59 +0000 Subject: [PATCH] make picprogs target --- pcb/Makefile | 8 +++++++- pic.make | 8 +++++++- spice/Makefile | 8 +++++++- 3 files changed, 21 insertions(+), 3 deletions(-) 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 -- 2.30.2