EMELIB = $(EMHOME)/modules/lib/libeme.a
STRLIB = $(EMHOME)/modules/lib/libstring.a
PRTLIB = $(EMHOME)/modules/lib/libprint.a
-EMMESLIB = $(EMHOME)/modules/lib/libem_mesO.a
+EMMESLIB = $(EMHOME)/modules/lib/libem_mes.a
INPLIB = $(EMHOME)/modules/lib/libinput.a
ALLOCLIB = $(EMHOME)/modules/lib/liballoc.a
MALLOC = $(EMHOME)/modules/lib/malloc.o
-LIBS = $(EMMESLIB) $(EMHOME)/modules/lib/libemopt.a $(EMHOME)/modules/lib/libread_emk.a \
- $(INPLIB) $(EMKLIB) $(PRTLIB) $(STRLIB) \
- $(ALLOCLIB) $(MALLOC) $(SYSLIB) $(EMHOME)/lib/em_data.a
+LIBS = $(INPLIB) $(EMMESLIB) $(EMKLIB) $(PRTLIB) $(STRLIB) \
+ $(ALLOCLIB) $(MALLOC) $(SYSLIB)
ELIBS = $(INPLIB) $(EMMESLIB) $(EMELIB) $(PRTLIB) $(STRLIB) \
$(ALLOCLIB) $(MALLOC) $(SYSLIB)
LIB_INCLUDES = -I$(EMHOME)/modules/h -I$(EMHOME)/modules/pkg
LINTLIBS = $(EMMESLLIB) $(EMKLLIB) $(PRTLLIB) $(STRLLIB) $(ALLOCLLIB) $(SYSLLIB)
CURRDIR = .
-COPTIONS = -DPEEPHOLE
+COPTIONS =
# What parser generator to use and how
GEN = $(EMHOME)/bin/LLgen
@rm -f nmclash.o a.out
install: Main
- rm -f $(EMHOME)/lib/em_cemcomO $(EMHOME)/man/em_cemcom.6
- cp $(CURRDIR)/main $(EMHOME)/lib/em_cemcomO
+ rm -f $(EMHOME)/lib/em_cemcom $(EMHOME)/man/em_cemcom.6
+ cp $(CURRDIR)/main $(EMHOME)/lib/em_cemcom
cp $(CURRDIR)/cemcom.1 $(EMHOME)/man/em_cemcom.6
cmp: Main
- -cmp $(CURRDIR)/main $(EMHOME)/lib/em_cemcomO
+ -cmp $(CURRDIR)/main $(EMHOME)/lib/em_cemcom
-cmp $(CURRDIR)/cemcom.1 $(EMHOME)/man/em_cemcom.6
pr:
{
arith esz = ATW(sz); /* effective size == actual # pushed bytes */
- if (((sz == al) && (word_align % al == 0)) || (al % word_align == 0))
+ if (
+ ((sz == al) && (word_align % al == 0)) ||
+ (
+ (sz % word_size == 0 || word_size % sz == 0) &&
+ (al % word_align == 0)
+ )
+ ) /* Lots of Irritating Stupid Parentheses */
C_loi(sz);
else {
#ifndef STB