From c429d26452dc21475e53691dfa6bf2a6207bc49c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 28 Oct 2008 08:10:53 +0100 Subject: [PATCH] Remove objs after build in utils/Makefile. --HG-- extra : convert_revision : ea6ab0ce142883c0c400f8a57ff11bc94f32ad65 --- utils/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/utils/Makefile b/utils/Makefile index 21d5beeca1c..3db5d02f1ce 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -3,7 +3,7 @@ PREFIX ?= /usr/local PKGDB_CFLAGS += -Wall -Werror -I$(PREFIX)/include PKGDB_LDFLAGS += -lprop -all: xbps-digest xbps-pkgdb +all: xbps-digest xbps-pkgdb clean_objs xbps-digest: xbps-digest.o $(CC) $(CFLAGS) $< -o $@ @@ -11,6 +11,9 @@ xbps-digest: xbps-digest.o xbps-pkgdb: xbps-pkgdb.o $(CC) $(PKGDB_CFLAGS) $(CFLAGS) $(PKGDB_LDFLAGS) $< -o $@ -clean: - -rm -rf *.o xbps-digest xbps-pkgdb +clean_objs: + -rm -f *.o + +clean: clean_objs + -rm -f xbps-digest xbps-pkgdb