From d14b2332b58fa1c15bd6fa1f2c2332d2c1af14d8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 21 Dec 2008 10:52:38 +0100 Subject: [PATCH] Simplify utils/Makefile even more! --HG-- extra : convert_revision : 0d1855a743e64c74ae070424a2f98cd7d87813d4 --- utils/Makefile | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/utils/Makefile b/utils/Makefile index ff56a1b0be3..294501ae4bd 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -5,27 +5,20 @@ CFLAGS += -funroll-all-loops -ftree-loop-linear LDFLAGS += -lprop BINS ?= xbps-bin xbps-cmpver xbps-digest xbps-pkgdb -all: $(BINS) clean-objs +all: $(BINS) .PHONY: all -xbps-cmpver.o: xbps_api.h -sha256.o: xbps_api.h sha256.h -xbps-digest.o: xbps_api.h sha256.h -xbps-pkgdb.o: xbps_api.h plist.h -plist.o: xbps_api.h plist.h -xbps-bin.o: xbps_api.h plist.h - xbps-bin: xbps-bin.o plist.o - $(CC) $(LDFLAGS) -o xbps-bin xbps-bin.o plist.o + $(CC) $(LDFLAGS) $^ -o $@ xbps-cmpver: xbps-cmpver.o - $(CC) -o xbps-cmpver xbps-cmpver.o + $(CC) $^ -o $@ xbps-digest: xbps-digest.o sha256.o - $(CC) -o xbps-digest xbps-digest.o sha256.o + $(CC) $^ -o $@ xbps-pkgdb: xbps-pkgdb.o plist.o - $(CC) $(LDFLAGS) -o xbps-pkgdb xbps-pkgdb.o plist.o + $(CC) $(LDFLAGS) $^ -o $@ .PHONY: clean clean: clean-bins clean-objs