blob: cdc1d7b67208502ee4771ad49c3b1457f358ad63 [file] [log] [blame]
all:: $(LIBRARY)_chk.a
real-subdirs:: Makefile
$(E) " MKDIR checker"
$(Q) mkdir -p checker
clean::
$(RM) -rf checker
$(LIBRARY)_chk.a: $(OBJS)
$(E) " GEN_CHECKER_LIB $@"
$(Q) (test -r $@ && $(RM) -f $@.bak && $(MV) $@ $@.bak)
$(Q) (cd checker; $(ARGEN) $@ $(OBJS))
-$(Q) $(RANLIB) $@
$(Q) $(RM) -f ../$@
$(Q) $(LN) $@ ../$@