chiark / gitweb /
Makefiles: add tidy and realclean targets to all pics subdirs; detpic removes t....
authorIan Jackson <ian@davenant.greenend.org.uk>
Wed, 5 Jan 2011 00:37:41 +0000 (00:37 +0000)
committerIan Jackson <ian@davenant.greenend.org.uk>
Wed, 5 Jan 2011 00:37:41 +0000 (00:37 +0000)
Makefile
cebpic/Makefile
detpic/Makefile
iwjpictest/Makefile

index c32c9618d8ab45a1e84ee48bb3434abb58df923b..ed11278308327926868b99c453b940baa19c65da 100644 (file)
--- 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
index 650f0542bfa85903b1773812ea8b9c29246139d9..2c9e292746de137f7a9f88f4760c8995bf1b3620 100644 (file)
@@ -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:
index 7ef680c5769bda3348a719c4ce6aaeeb157612c8..59180d09206f435d4c56c05abb962c9b10df2bcd 100644 (file)
@@ -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.%
index 0132e15bf77c31696c49983d158d3e7c895e2eac..e1de9ebb957696ad23381ef08106d7aad6f67573 100644 (file)
@@ -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