Theodore Ts'o | 42c0b61 | 2008-01-01 16:48:09 -0500 | [diff] [blame^] | 1 | all:: $(LIBRARY)_chk.a |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 2 | |
Theodore Ts'o | 3f546fc | 2006-03-10 21:39:40 -0500 | [diff] [blame] | 3 | real-subdirs:: Makefile |
Theodore Ts'o | 02ef196 | 2005-12-29 22:45:29 -0500 | [diff] [blame] | 4 | @echo " MKDIR checker" |
| 5 | @mkdir -p checker |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 6 | |
| 7 | clean:: |
| 8 | $(RM) -rf checker |
| 9 | |
| 10 | $(LIBRARY)_chk.a: $(OBJS) |
Theodore Ts'o | 47204ff | 2004-11-30 10:52:27 -0500 | [diff] [blame] | 11 | @echo " GEN_CHECKER_LIB $@" |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 12 | @(test -r $@ && $(RM) -f $@.bak && $(MV) $@ $@.bak) |
Theodore Ts'o | 47204ff | 2004-11-30 10:52:27 -0500 | [diff] [blame] | 13 | (cd checker; $(ARGEN) $@ $(OBJS)) |
| 14 | -@$(RANLIB) $@ |
| 15 | @$(RM) -f ../$@ |
| 16 | @$(LN) $@ ../$@ |