make two versions: one for new peephole optimizer

This commit is contained in:
ceriel 1987-08-06 19:00:21 +00:00
parent a5e33acf51
commit 34bcf4786b
2 changed files with 11 additions and 2 deletions

View file

@ -9,19 +9,28 @@ OBJ = C_ms_err.o C_ms_opt.o C_ms_emx.o C_ms_reg.o C_ms_src.o\
INCLUDES=-I$(EMHOME)/h -I$(HDIR)
CFLAGS = $(INCLUDES) -O
all: libem_mes.a
all: libem_mes.a libem_mesO.a
libem_mes.a: $(OBJ)
rm -f libem_mes.a
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)
-sh -c 'ranlib libem_mesO.a'
rm -f *.o
install: all
$(INSTALL) lib/libem_mes.a
$(INSTALL) lib/libem_mesO.a
$(INSTALL) man/em_mes.3
cmp: all
$(COMPARE) lib/libem_mes.a
$(COMPARE) lib/libem_mesO.a
$(COMPARE) man/em_mes.3
pr:

View file

@ -39,7 +39,7 @@ em_mes \- EM-message generating routines
.fi
.SH DESCRIPTION
This set of routines forms a front end for the
.IR em_code (3L)
.IR em_code (3)
module.
The philosophy behind this package is to provide a single routine for
each type of EM message that is generated by a front-end compiler.