From: Ian Jackson Date: Wed, 5 Jan 2011 00:37:41 +0000 (+0000) Subject: Makefiles: add tidy and realclean targets to all pics subdirs; detpic removes t.... X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=7856b536453c3fb2c0dcdd81c8855481a7958d2a;p=trains.git Makefiles: add tidy and realclean targets to all pics subdirs; detpic removes t.*.crash on tidy --- diff --git a/Makefile b/Makefile index c32c961..ed11278 100644 --- a/Makefile +++ b/Makefile @@ -28,5 +28,6 @@ pic_clean: $(call recurse,PIC,clean) clean: host_clean pic_clean -tidy: host_tidy + +tidy: host_tidy pic_tidy realclean: clean tidy diff --git a/cebpic/Makefile b/cebpic/Makefile index 650f054..2c9e292 100644 --- a/cebpic/Makefile +++ b/cebpic/Makefile @@ -29,3 +29,6 @@ i2c-test-reply,slow.hex: i2c-test-reply,slow.o morse-auto.o clean: manypic-clean rm -f routines.lib + +realclean: clean +tidy: diff --git a/detpic/Makefile b/detpic/Makefile index 7ef680c..59180d0 100644 --- a/detpic/Makefile +++ b/detpic/Makefile @@ -75,4 +75,9 @@ clean: manypic-clean rm -f *+clocks.inc ours+pindata.* i2clib+panic.* rm -f $(VARSFILES)+vars.* $(SYNCWRITES) +tidy: + rm -f t.*.crash + +realclean: clean tidy + .PRECIOUS: i2clib+panic.% diff --git a/iwjpictest/Makefile b/iwjpictest/Makefile index 0132e15..e1de9eb 100644 --- a/iwjpictest/Makefile +++ b/iwjpictest/Makefile @@ -32,6 +32,9 @@ harness.hex: harness.o syncwrite.o syncwritehex.o $(LIBS) clean: pic-clean rm -f $(INSN_TARGETS) +realclean: clean +tidy: + insn-aliases.inc: insn-aliases.inc-gen ./$< --macros $o