Without breaking the klibc stuff.
Total build time shortened a lot on small systems.
all: $(BUILD)
prepare:
- rm -f core *.o *.gz
+ @file *-$(BUILD).a >/dev/null 2>&1 || rm -f core *.o *.gz
klibc: prepare $(OBJS)
ar rs libcheckers-klibc.a *.o
all: $(BUILD)
prepare:
- rm -f core *.o *.gz
+ @file *-$(BUILD).a >/dev/null 2>&1 || rm -f core *.o *.gz
klibc: prepare $(OBJS)
ar rs libmultipath-klibc.a *.o
all: $(BUILD)
prepare:
- make -C $(multipathdir) clean
+ make -C $(multipathdir) prepare
rm -f core *.o *.gz
glibc: prepare $(OBJS)
rm -f $(DESTDIR)$(mandir)/$(EXEC).8.gz
clean:
- $(MAKE) -C $(multipathdir) clean
+ $(MAKE) -C $(multipathdir) prepare
rm -f core *.o $(EXEC) *.gz