blob: 8cb197aad6dd04f7f8c1a014a467c3b075af2284 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
all:: profiled $(LIBRARY)_p.a
subdirs:: profiled
profiled:
mkdir profiled
clean::
$(RM) -rf profiled
$(LIBRARY)_p.a: $(OBJS)
(if test -r $@; then $(RM) -f $@.bak && $(MV) $@ $@.bak; fi)
(cd profiled; $(ARUPD) ../$@ $(OBJS))
-$(RANLIB) $@
$(RM) -f ../$@
$(LN) $@ ../$@
|