From 81a2d12ae5b0fb4f938b3b33c0224f43577b9e24 Mon Sep 17 00:00:00 2001 From: ceriel Date: Mon, 16 Oct 1989 09:45:06 +0000 Subject: [PATCH] improved Makefile: save libemopt.a when creating libCEopt.a --- modules/src/em_opt/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/src/em_opt/Makefile b/modules/src/em_opt/Makefile index fc3d881ea..aefd29251 100644 --- a/modules/src/em_opt/Makefile +++ b/modules/src/em_opt/Makefile @@ -115,10 +115,12 @@ $(LIBOPT): dfadummy $(NOFILES) pseudo.d incalls.d ar rc $(LIBOPT) O_*.$(SUF) $(NOFILES) -sh -c 'ranlib $(LIBOPT)' -$(LIBCEOPT): dfadummy pseudo.d incalls.d +$(LIBCEOPT): dfadummy rm -f O_*.$(SUF) $(NOFILES) + -mv $(LIBOPT) $(LIBOPT).saved make "EMHOME="$(EMHOME) PREFLAGS='$(INCLDIR) -DPRIVATE=static -DCODE_EXPANDER' $(LIBOPT) mv $(LIBOPT) $(LIBCEOPT) + -mv $(LIBOPT).saved $(LIBOPT) rm -f O_*.$(SUF) $(NOFILES) dfadummy: patterns parser