From: ian Date: Sun, 1 Jun 2008 22:19:26 +0000 (+0000) Subject: new tidy target for deleting old dumps X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=12055fb1f9aa3981515fb82946cd5d5226b05bb8;p=trains.git new tidy target for deleting old dumps --- diff --git a/Makefile b/Makefile index beb1f7c..24727a0 100644 --- a/Makefile +++ b/Makefile @@ -25,3 +25,4 @@ pic_clean: $(call recurse,PIC,clean) clean: host_clean pic_clean +tidy: host_tidy diff --git a/hostside/Makefile b/hostside/Makefile index 25443e1..3963d7c 100644 --- a/hostside/Makefile +++ b/hostside/Makefile @@ -83,7 +83,10 @@ safety: safety.o utils.o trackloc.o ../layout/ours.layout-data.o %: %.gen ./$^ $o -clean: +tidy: + rm -f ./+dump.* + +clean: tidy rm -f *.o *.d $(TARGETS) selectors.h rm -f auproto-pic.h *~ core proto-expanded rm -f record-[yl].[ch] diff --git a/layout/Makefile b/layout/Makefile index a925394..2d28542 100644 --- a/layout/Makefile +++ b/layout/Makefile @@ -174,7 +174,9 @@ t.ppm: ours.dgram-bot.pa.segenco.ppm x.gdb subseg2display subseg2display.o compose-segenco.o: segcmap.h -clean: +tidy: + +clean: tidy -rm -f -- *.d4 *~ t.* *.m *.new core *.d -rm -f ours.*.ps ours-*.ps parts.ps *.neato.ps ours.*.neato -rm -f dualjn-*.ps diff --git a/pcb/Makefile b/pcb/Makefile index 43108b6..d2641e6 100644 --- a/pcb/Makefile +++ b/pcb/Makefile @@ -98,7 +98,9 @@ pcboprints: reversers.oprints-l detectors.oprints-l %.net-spec: generate-netspec.pl ./$< $@ $o -clean: +tidy: + +clean: tidy -rm -f -- *~ *.new -rm -f *.hole-rep *.net *.net-info *.net-spec -rm -f *.layers.dep panel3.pcb