improved Makefile: save libemopt.a when creating libCEopt.a
This commit is contained in:
parent
7f6b39f155
commit
81a2d12ae5
|
@ -115,10 +115,12 @@ $(LIBOPT): dfadummy $(NOFILES) pseudo.d incalls.d
|
||||||
ar rc $(LIBOPT) O_*.$(SUF) $(NOFILES)
|
ar rc $(LIBOPT) O_*.$(SUF) $(NOFILES)
|
||||||
-sh -c 'ranlib $(LIBOPT)'
|
-sh -c 'ranlib $(LIBOPT)'
|
||||||
|
|
||||||
$(LIBCEOPT): dfadummy pseudo.d incalls.d
|
$(LIBCEOPT): dfadummy
|
||||||
rm -f O_*.$(SUF) $(NOFILES)
|
rm -f O_*.$(SUF) $(NOFILES)
|
||||||
|
-mv $(LIBOPT) $(LIBOPT).saved
|
||||||
make "EMHOME="$(EMHOME) PREFLAGS='$(INCLDIR) -DPRIVATE=static -DCODE_EXPANDER' $(LIBOPT)
|
make "EMHOME="$(EMHOME) PREFLAGS='$(INCLDIR) -DPRIVATE=static -DCODE_EXPANDER' $(LIBOPT)
|
||||||
mv $(LIBOPT) $(LIBCEOPT)
|
mv $(LIBOPT) $(LIBCEOPT)
|
||||||
|
-mv $(LIBOPT).saved $(LIBOPT)
|
||||||
rm -f O_*.$(SUF) $(NOFILES)
|
rm -f O_*.$(SUF) $(NOFILES)
|
||||||
|
|
||||||
dfadummy: patterns parser
|
dfadummy: patterns parser
|
||||||
|
|
Loading…
Reference in a new issue