From d596034b6a258cc97f32c33508079db469c8af2a Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Sun, 28 Apr 2002 02:28:45 +0000 Subject: [PATCH] r1807: *** empty log message *** --- Makefile | 4 ++-- Makefile.common | 12 ++++++------ examples/Makefile | 8 ++------ tests/Makefile | 8 ++------ 4 files changed, 12 insertions(+), 20 deletions(-) diff --git a/Makefile b/Makefile index 1845c53..081302d 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ # Programer: Kevin M. Rosenberg, M.D. # Date Started: Mar 2002 # -# CVS Id: $Id: Makefile,v 1.40 2002/04/28 02:20:13 kevin Exp $ +# CVS Id: $Id: Makefile,v 1.41 2002/04/28 02:28:45 kevin Exp $ # # This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg # @@ -26,7 +26,7 @@ all: .PHONY: distclean distclean: clean - ./debian/rules clean + ./debian/rules clean VERSION=$(shell cat VERSION) diff --git a/Makefile.common b/Makefile.common index c496a02..03db66d 100644 --- a/Makefile.common +++ b/Makefile.common @@ -1,14 +1,14 @@ all: - @echo "nothing to do" + .PHONY: clean clean: - rm -rf .bin - rm -f *.ufsl *.fsl *.fas *.x86f *.sparcf *.fasl *.err - rm -f *~ *.bak *.orig "#*" .#* - rm -f *.so *.a + @rm -rf .bin + @rm -f *.ufsl *.fsl *.fas *.x86f *.sparcf *.fasl + @rm -f *~ *.bak *.orig *.err \#* .#* + @rm -f *.so *.a ifneq ($(SUBDIRS)$(DOCSUBDIRS),) - set -e; for i in $(SUBDIRS) $(DOCSUBDIRS); do \ + @set -e; for i in $(SUBDIRS) $(DOCSUBDIRS); do \ $(MAKE) -C $$i $@; done endif diff --git a/examples/Makefile b/examples/Makefile index e4dcb26..2c3ee7e 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -5,7 +5,7 @@ # Programer: Kevin M. Rosenberg # Date Started: Mar 2002 # -# CVS Id: $Id: Makefile,v 1.13 2002/04/28 02:20:13 kevin Exp $ +# CVS Id: $Id: Makefile,v 1.14 2002/04/28 02:28:45 kevin Exp $ # # This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg # @@ -43,6 +43,7 @@ source=$(base).c object=$(base).o shared_lib=$(base).so +.PHONY: all all: $(shared_lib) $(shared_lib): $(source) Makefile @@ -50,8 +51,3 @@ $(shared_lib): $(source) Makefile gcc ${SHARED_LD_OPT} $(object) -o $(shared_lib) rm $(object) -clean: - rm -f $(object) $(shared_lib) - -realclean: clean - rm -f *~ diff --git a/tests/Makefile b/tests/Makefile index e4dcb26..2c3ee7e 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -5,7 +5,7 @@ # Programer: Kevin M. Rosenberg # Date Started: Mar 2002 # -# CVS Id: $Id: Makefile,v 1.13 2002/04/28 02:20:13 kevin Exp $ +# CVS Id: $Id: Makefile,v 1.14 2002/04/28 02:28:45 kevin Exp $ # # This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg # @@ -43,6 +43,7 @@ source=$(base).c object=$(base).o shared_lib=$(base).so +.PHONY: all all: $(shared_lib) $(shared_lib): $(source) Makefile @@ -50,8 +51,3 @@ $(shared_lib): $(source) Makefile gcc ${SHARED_LD_OPT} $(object) -o $(shared_lib) rm $(object) -clean: - rm -f $(object) $(shared_lib) - -realclean: clean - rm -f *~ -- 2.34.1