Remove objs after build in utils/Makefile.

--HG--
extra : convert_revision : ea6ab0ce142883c0c400f8a57ff11bc94f32ad65
This commit is contained in:
Juan RP 2008-10-28 08:10:53 +01:00
parent 4c11bc34e4
commit c429d26452

View file

@ -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