From 0513f96bfb562cfa4202f890e54a8ab29e03faf1 Mon Sep 17 00:00:00 2001 From: Frank Haverkamp Date: Mon, 7 Jan 2008 14:05:00 +0100 Subject: ubi-utils: libubi.a was always regenerated due to bug in Makefile The Makefile defined a target which was never produced. So libubi.a was regenerated regardless any dependencies. Signed-off-by: Frank Haverkamp --- ubi-utils/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ubi-utils/Makefile') diff --git a/ubi-utils/Makefile b/ubi-utils/Makefile index 9fd862d..933a843 100644 --- a/ubi-utils/Makefile +++ b/ubi-utils/Makefile @@ -26,7 +26,7 @@ vpath %.c ./src %.o: %.c $(CC) $(CFLAGS) -g -c -o $@ $< -g -Wp,-MD,.$(shell basename $<).dep -all: $(TARGETS) libubi +all: $(TARGETS) libubi.a IGNORE=${wildcard .*.c.dep} -include ${IGNORE} @@ -34,8 +34,8 @@ IGNORE=${wildcard .*.c.dep} clean: rm -rf *.o $(TARGETS) .*.c.dep libubi.a -libubi: libubi.o - ar cr libubi.a libubi.o +libubi.a: libubi.o + ar cr $@ $^ ubidetach: ubidetach.o common.o libubi.o $(CC) $(LDFLAGS) -o $@ $^ -- cgit v1.2.3