From e603252b21a44e47e45a8837833959c85f093324 Mon Sep 17 00:00:00 2001 From: ian Date: Mon, 21 Nov 2005 00:15:30 +0000 Subject: [PATCH] better for-pic, better clean --- Makefile | 4 ++-- hostside/Makefile | 2 ++ pcb/Makefile | 5 +++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 39bf7c0..beb1f7c 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ recurse = set -e; for f in $($(1)_DIRS); do $(MAKE) -C $$f $(2); done PIC_DIRS= iwjpictest cebpic detpic -HOST_DIRS= layout hostside +HOST_DIRS= pcb layout hostside all: $(call recurse,HOST,recurse) @@ -14,7 +14,7 @@ host_%: $(call recurse,HOST,$*) pic: - $(MAKE) -C layout for-pic + $(call recurse,HOST,for-pic) $(call recurse,PIC,) pic_%: diff --git a/hostside/Makefile b/hostside/Makefile index 67f7942..a56c460 100644 --- a/hostside/Makefile +++ b/hostside/Makefile @@ -9,6 +9,7 @@ TARGETS= hostside hostside-old gui-plan-bot default: all recurse: all +for-pic: all: $(TARGETS) hostside-old: serialio.o nmra.o main.o encode.o utils.o @@ -46,5 +47,6 @@ safety: safety.o utils.o trackloc.o ../layout/ours.layout-data.o clean: rm -f *.o *.d $(TARGETS) selectors.h + rm -f auproto-pic.h *~ core proto-expanded include $(wildcard *.d) diff --git a/pcb/Makefile b/pcb/Makefile index c23515f..7f6c304 100644 --- a/pcb/Makefile +++ b/pcb/Makefile @@ -1,6 +1,6 @@ default: netlists - +for-pic: netlists all: default layers panel3.pcb o=>$@.new && mv -f $@.new $@ @@ -99,7 +99,8 @@ pcboprints: reversers.oprints-l detectors.oprints-l clean: -rm -f -- *~ *.new - -rm -f reversers.net reversers.net-info + -rm -f *.hole-rep *.net *.net-info *.net-spec + -rm -f *.layers.dep panel3.pcb .PRECIOUS: %.net-info %.net-spec .PRECIOUS: $(OPRINTS) -- 2.30.2