Whamcloud - gitweb
Use Linux-kernel-style makefile output to make it easier to
[tools/e2fsprogs.git] / lib / Makefile.checker
1 all:: checker $(LIBRARY)_chk.a
2
3 subdirs:: checker
4
5 checker:
6         @echo " MKDIR $@"
7         @mkdir checker
8
9 clean::
10         $(RM) -rf checker
11
12 $(LIBRARY)_chk.a: $(OBJS)
13         @echo " GEN_CHECKER_LIB $@"
14         @(test -r $@ && $(RM) -f $@.bak && $(MV) $@ $@.bak)
15         (cd checker; $(ARGEN) $@ $(OBJS))
16         -@$(RANLIB) $@
17         @$(RM) -f ../$@
18         @$(LN) $@ ../$@