Whamcloud - gitweb
95974fad2a044e770c0fe913ea34db86f6a1276d
[tools/e2fsprogs.git] / lib / Makefile.checker
1 all:: checker $(LIBRARY)_chk.a
2
3 real-subdirs:: Makefile
4         @echo " MKDIR checker"
5         @mkdir -p checker
6
7 clean::
8         $(RM) -rf checker
9
10 $(LIBRARY)_chk.a: $(OBJS)
11         @echo " GEN_CHECKER_LIB $@"
12         @(test -r $@ && $(RM) -f $@.bak && $(MV) $@ $@.bak)
13         (cd checker; $(ARGEN) $@ $(OBJS))
14         -@$(RANLIB) $@
15         @$(RM) -f ../$@
16         @$(LN) $@ ../$@