summaryrefslogtreecommitdiff
path: root/lib/Makefile.checker
blob: 304fc558f06e26147558044911af014fbc4046d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
all:: checker $(LIBRARY)_chk.a

subdirs:: Makefile
	@echo "	MKDIR checker"
	@mkdir -p checker

clean::
	$(RM) -rf checker

$(LIBRARY)_chk.a: $(OBJS)
	@echo "	GEN_CHECKER_LIB $@"
	@(test -r $@ && $(RM) -f $@.bak && $(MV) $@ $@.bak)
	(cd checker; $(ARGEN) $@ $(OBJS))
	-@$(RANLIB) $@
	@$(RM) -f ../$@
	@$(LN) $@ ../$@