From: Michael Tremer Date: Fri, 4 Mar 2011 12:29:08 +0000 (+0100) Subject: build-essentials: Add a clean target to the makefiles. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66b5302eb02894fb49b1a79de74e3d7766ef8749;p=ipfire-3.x.git build-essentials: Add a clean target to the makefiles. --- diff --git a/pkgs/build-essentials/build-essentials.nm b/pkgs/build-essentials/build-essentials.nm index 4f8e953fe..363477d08 100644 --- a/pkgs/build-essentials/build-essentials.nm +++ b/pkgs/build-essentials/build-essentials.nm @@ -26,7 +26,7 @@ include $(PKGROOT)/Include PKG_NAME = build-essentials PKG_VER = $(DISTRO_VERSION) -PKG_REL = 2 +PKG_REL = 3 PKG_EPOCH = 1 PKG_ARCH = noarch diff --git a/pkgs/build-essentials/buildsystem/Targets b/pkgs/build-essentials/buildsystem/Targets index f9edd84ef..8c02cb73c 100644 --- a/pkgs/build-essentials/buildsystem/Targets +++ b/pkgs/build-essentials/buildsystem/Targets @@ -53,3 +53,8 @@ build: $(OBJECTS) $(if $(STAGE_BUILD),$(DO_BUILD)) $(if $(STAGE_TEST),$(DO_TEST)) $(if $(STAGE_INSTALL),$(DO_INSTALL)) + +.PHONY: clean +clean: + # Remove all files from $(DIR_APP) + -rm -rf $(DIR_APP)