From 20f476b9303f54b939942f204275d97e0502d952 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Thu, 12 Jul 2012 19:19:44 -0300 Subject: [PATCH] modules/Makefile: move "clean" and "spotless" at their usual place at the end --- modules/Makefile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/modules/Makefile b/modules/Makefile index 4a60ad2..47c83cd 100644 --- a/modules/Makefile +++ b/modules/Makefile @@ -18,16 +18,10 @@ MODULES=8_10-card 8_10-socket-ra \ xtal-2 xtal-4 \ .SUFFIXES: .fpd .mod -.PHONY: all catalog view upload missing clean +.PHONY: all catalog view upload missing clean spotless all: $(MODULES:%=%.mod) -clean: - rm -f *~*.fpd - -spotless: clean - rm -f $(MODULES:%=%.mod) - .fpd.mod: fped -k $< $@ @@ -44,3 +38,10 @@ upload: catalog.pdf missing: ../scripts/missing-in-tree -F $(MODULES:%=-l %.fpd) HIERARCHY + +clean: + rm -f *~*.fpd + +spotless: clean + rm -f $(MODULES:%=%.mod) +