lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | all:: $(LIBRARY)_chk.a |
2 | |||||
3 | real-subdirs:: Makefile | ||||
4 | $(E) " MKDIR checker" | ||||
5 | $(Q) mkdir -p checker | ||||
6 | |||||
7 | clean:: | ||||
8 | $(RM) -rf checker | ||||
9 | |||||
10 | $(LIBRARY)_chk.a: $(OBJS) | ||||
11 | $(E) " GEN_CHECKER_LIB $@" | ||||
12 | $(Q) (test -r $@ && $(RM) -f $@.bak && $(MV) $@ $@.bak) | ||||
13 | $(Q) (cd checker; $(ARGEN) $@ $(OBJS)) | ||||
14 | -$(Q) $(RANLIB) $@ | ||||
15 | $(Q) $(RM) -f ../$@ | ||||
16 | $(Q) (cd .. ; $(LN) $(LINK_BUILD_FLAGS) \ | ||||
17 | `echo $(my_dir) | sed -e 's;lib/;;'`/$@ $@) |