e2fsprogs/lib/Makefile.checker

17 lines
265 B
Makefile

all:: checker $(LIBRARY)_chk.a
subdirs:: checker
checker:
mkdir checker
clean::
$(RM) -rf checker
$(LIBRARY)_chk.a: $(OBJS)
@(test -r $@ && $(RM) -f $@.bak && $(MV) $@ $@.bak)
(cd checker; $(ARUPD) $@ $(OBJS))
-$(RANLIB) $@
$(RM) -f ../$@
$(LN) $@ ../$@