From fb65cda40f24938ed0d84ec3847f587f981a2a21 Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 14 Jan 1988 13:50:43 +0000 Subject: [PATCH] make separate lib for code-expander --- modules/src/em_mes/Makefile | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/modules/src/em_mes/Makefile b/modules/src/em_mes/Makefile index beb88f2b0..c6687633f 100644 --- a/modules/src/em_mes/Makefile +++ b/modules/src/em_mes/Makefile @@ -8,21 +8,29 @@ OBJ = C_ms_err.o C_ms_opt.o C_ms_emx.o C_ms_reg.o C_ms_src.o\ C_ms_flt.o C_ms_com.o C_ms_par.o C_ms_ego.o C_ms_gto.o INCLUDES=-I$(EMHOME)/h -I$(HDIR) CFLAGS = $(INCLUDES) -O +AR = ar -all: libem_mes.a libem_mesO.a +all: libem_mes.a libem_mesO.a libem_mesCE.a libem_mes.a: $(OBJ) rm -f libem_mes.a - ar cr libem_mes.a $(OBJ) + $(AR) cr libem_mes.a $(OBJ) -sh -c 'ranlib libem_mes.a' libem_mesO.a: rm -f *.o libem_mesO.a $(CC) -c $(CFLAGS) -DPEEPHOLE $(SRC) - ar cr libem_mesO.a $(OBJ) + $(AR) cr libem_mesO.a $(OBJ) -sh -c 'ranlib libem_mesO.a' rm -f *.o +libem_mesCE.a: + rm -f *.o libem_mesCE.a + $(CC) -c $(CFLAGS) -DCODE_EXPANDER $(SRC) + $(AR) cr libem_mesCE.a $(OBJ) + -sh -c 'ranlib libem_mesCE.a' + rm -f *.o + install: all $(INSTALL) lib/libem_mes.a $(INSTALL) lib/libem_mesO.a