diff --git a/emtest/Makefile b/emtest/Makefile index 4b758624e..a3ea72f51 100644 --- a/emtest/Makefile +++ b/emtest/Makefile @@ -17,4 +17,4 @@ last: tests test.h select echo 0 >last select: select.c - $(CC) -O -i -o select select.c + $(CC) -O -o select select.c diff --git a/util/LLgen/src/Makefile b/util/LLgen/src/Makefile index 0a93282ff..c67c14436 100644 --- a/util/LLgen/src/Makefile +++ b/util/LLgen/src/Makefile @@ -4,7 +4,7 @@ PROF= LLOPT= # -vvv -x INCLUDES = -I$(EMHOME)/h CFLAGS=-O -DNDEBUG $(INCLUDES) $(PROF) -LDFLAGS=-i +LDFLAGS= OBJECTS = main.o gencode.o compute.o LLgen.o tokens.o check.o reach.o global.o name.o sets.o Lpars.o alloc.o machdep.o cclass.o CFILES = main.c gencode.c compute.c LLgen.c tokens.c check.c reach.c global.c name.c sets.c Lpars.c alloc.c machdep.c cclass.c FILES =types.h tunable.h extern.h io.h sets.h assert.h tokens.g LLgen.g main.c name.c compute.c sets.c gencode.c global.c check.c reach.c alloc.c machdep.c Makefile cclass.c diff --git a/util/ack/Makefile b/util/ack/Makefile index b9dfad1fe..a834ed918 100644 --- a/util/ack/Makefile +++ b/util/ack/Makefile @@ -14,7 +14,7 @@ LNTABLES=acc apc abc ocm m2 vax4 i86 i386 m68k2 m68k4 pmds pmds4 mantra \ sun3 sun2 xenix3 minix minixST INCLUDES=-I$(EMHOME)/h CFLAGS=-O $(INCLUDES) -LDFLAGS=-i +LDFLAGS= BINDIR=$(EMHOME)/bin MANDIR=$(EMHOME)/man MODDIR=$(EMHOME)/modules/lib diff --git a/util/amisc/Makefile b/util/amisc/Makefile index d65c0a753..3ebbdbd7d 100644 --- a/util/amisc/Makefile +++ b/util/amisc/Makefile @@ -3,7 +3,7 @@ BINDIR = $(EM)/bin MANDIR = $(EM)/man LIBDIR = $(EM)/modules/lib h = $(EM)/h -LDFLAGS = -i +LDFLAGS = CFLAGS = $(LDFLAGS) -O -I$h ALL = anm asize astrip OFILES = anm.o asize.o astrip.o diff --git a/util/arch/Makefile b/util/arch/Makefile index ad13e7d4c..a749b82cb 100644 --- a/util/arch/Makefile +++ b/util/arch/Makefile @@ -7,7 +7,7 @@ LIBS = $(LIB)/libobject.a $(LIB)/libprint.a \ $(LIB)/libstring.a $(LIB)/libsystem.a CFLAGS=-O -I$(EMH) -LDFLAGS = -i +LDFLAGS = all: arch aal diff --git a/util/ass/Makefile b/util/ass/Makefile index 4a9f8cfb2..c600b11e5 100644 --- a/util/ass/Makefile +++ b/util/ass/Makefile @@ -32,7 +32,7 @@ lint: ass00.c ass30.c ass40.c ass50.c ass60.c ass70.c \ ass: ass00.o ass30.o ass40.o ass50.o ass60.o ass70.o \ ass80.o assci.o assda.o assrl.o asstb.o asscm.o \ $l/em_data.a - $(CC) -i $(CFLAGS) -o ass \ + $(CC) $(CFLAGS) -o ass \ ass00.o ass30.o ass40.o ass50.o ass60.o ass70.o \ ass80.o assci.o assda.o assrl.o asstb.o asscm.o \ $l/em_data.a diff --git a/util/cgg/Makefile b/util/cgg/Makefile index 8de776262..d33c168c9 100644 --- a/util/cgg/Makefile +++ b/util/cgg/Makefile @@ -2,7 +2,7 @@ PREFLAGS=-I../../h CFLAGS=$(PREFLAGS) -LDFLAGS=-i +LDFLAGS= LINTOPTS=-hbxac $(PREFLAGS) LIBS=../../lib/em_data.a # LEXLIB is system dependent, try -ll or -lln first diff --git a/util/cmisc/Makefile b/util/cmisc/Makefile index eff689334..7a7894f3d 100644 --- a/util/cmisc/Makefile +++ b/util/cmisc/Makefile @@ -2,7 +2,7 @@ EM = ../.. EMBIN = $(EM)/bin EMMAN = $(EM)/man CFLAGS = -O -LDFLAGS = -i +LDFLAGS = all: mkdep cid cclash prid tabgen diff --git a/util/cpp/Makefile b/util/cpp/Makefile index 9662c719d..2cae78011 100644 --- a/util/cpp/Makefile +++ b/util/cpp/Makefile @@ -24,7 +24,7 @@ CEMPP = $(BIN)/cpp # What C compiler to use and how CC = cc COPTIONS = -LDFLAGS = -i +LDFLAGS = # What parser generator to use and how GEN = $(EMHOME)/bin/LLgen diff --git a/util/ego/bo/Makefile b/util/ego/bo/Makefile index 61251cbd4..cc0fb3cba 100644 --- a/util/ego/bo/Makefile +++ b/util/ego/bo/Makefile @@ -4,7 +4,7 @@ EMH=$(EMHOME)/h EMLIB=$(EMHOME)/lib SHR=../share -LDFLAGS=-i +LDFLAGS= CPPFLAGS=-DVERBOSE -DNOTCOMPACT CFLAGS=$(CPPFLAGS) -O LINTFLAGS=-hbu diff --git a/util/ego/ca/Makefile b/util/ego/ca/Makefile index c75941b89..cf3534aec 100644 --- a/util/ego/ca/Makefile +++ b/util/ego/ca/Makefile @@ -4,7 +4,7 @@ EMH=$(EMHOME)/h EMLIB=$(EMHOME)/lib SHR=../share -LDFLAGS=-i +LDFLAGS= CPPFLAGS=-DVERBOSE -DNOTCOMPACT CFLAGS=$(CPPFLAGS) -O LINTFLAGS=-hbu diff --git a/util/ego/cf/Makefile b/util/ego/cf/Makefile index eb3ae3642..8c8f9bd71 100644 --- a/util/ego/cf/Makefile +++ b/util/ego/cf/Makefile @@ -4,7 +4,7 @@ EMH=$(EMHOME)/h EMLIB=$(EMHOME)/lib SHR=../share -LDFLAGS=-i +LDFLAGS= CPPFLAGS=-DVERBOSE -DNOTCOMPACT CFLAGS=$(CPPFLAGS) -O LINTFLAGS=-hbu diff --git a/util/ego/cj/Makefile b/util/ego/cj/Makefile index a41f27df8..eff3e5807 100644 --- a/util/ego/cj/Makefile +++ b/util/ego/cj/Makefile @@ -4,7 +4,7 @@ EMH=$(EMHOME)/h EMLIB=$(EMHOME)/lib SHR=../share -LDFLAGS=-i +LDFLAGS= CPPFLAGS=-DVERBOSE -DNOTCOMPACT CFLAGS=$(CPPFLAGS) -O LINTFLAGS=-hbu diff --git a/util/ego/cs/Makefile b/util/ego/cs/Makefile index 89918506a..283901254 100644 --- a/util/ego/cs/Makefile +++ b/util/ego/cs/Makefile @@ -4,7 +4,7 @@ EMH=$(EMHOME)/h EMLIB=$(EMHOME)/lib SHR=../share -LDFLAGS=-i +LDFLAGS= CPPFLAGS=-DVERBOSE -DNOTCOMPACT CFLAGS=$(CPPFLAGS) -O LINTFLAGS=-hbu diff --git a/util/ego/em_ego/Makefile b/util/ego/em_ego/Makefile index d42d96ae2..726e26e64 100644 --- a/util/ego/em_ego/Makefile +++ b/util/ego/em_ego/Makefile @@ -4,7 +4,7 @@ EMH=$(EMHOME)/h EMLIB=$(EMHOME)/lib SHARE=../share -LDFLAGS=-i +LDFLAGS= CPPFLAGS=-DVERBOSE -DNOTCOMPACT CFLAGS=$(CPPFLAGS) -O LINTFLAGS=-hbu diff --git a/util/ego/ic/Makefile b/util/ego/ic/Makefile index b759ae447..4369e2714 100644 --- a/util/ego/ic/Makefile +++ b/util/ego/ic/Makefile @@ -2,7 +2,7 @@ EMHOME=../../.. EMH=$(EMHOME)/h EMLIB=$(EMHOME)/lib SHR=../share -LDFLAGS=-i +LDFLAGS= CPPFLAGS=-DVERBOSE -DNOTCOMPACT CFLAGS=$(CPPFLAGS) -O LINTFLAGS=-hbu diff --git a/util/ego/il/Makefile b/util/ego/il/Makefile index 1995debc1..ec0527fd9 100644 --- a/util/ego/il/Makefile +++ b/util/ego/il/Makefile @@ -4,7 +4,7 @@ EMH=$(EMHOME)/h EMLIB=$(EMHOME)/lib SHR=../share -LDFLAGS=-i +LDFLAGS= CPPFLAGS=-DVERBOSE -DNOTCOMPACT CFLAGS=$(CPPFLAGS) -O LINTFLAGS=-hbu diff --git a/util/ego/lv/Makefile b/util/ego/lv/Makefile index 8dfd94cb6..fd13869ef 100644 --- a/util/ego/lv/Makefile +++ b/util/ego/lv/Makefile @@ -4,7 +4,7 @@ EMH=$(EMHOME)/h EMLIB=$(EMHOME)/lib SHR=../share -LDFLAGS=-i +LDFLAGS= CPPFLAGS=-DVERBOSE -DNOTCOMPACT CFLAGS=$(CPPFLAGS) -O LINTFLAGS=-hbu diff --git a/util/ego/ra/Makefile b/util/ego/ra/Makefile index 2a23989bc..88201ad20 100644 --- a/util/ego/ra/Makefile +++ b/util/ego/ra/Makefile @@ -4,7 +4,7 @@ EMH=$(EMHOME)/h EMLIB=$(EMHOME)/lib SHR=../share -LDFLAGS=-i +LDFLAGS= CPPFLAGS=-DVERBOSE -DNOTCOMPACT CFLAGS=$(CPPFLAGS) -O LINTFLAGS=-hbu diff --git a/util/ego/share/Makefile b/util/ego/share/Makefile index 8bc09a96b..6e43729a9 100644 --- a/util/ego/share/Makefile +++ b/util/ego/share/Makefile @@ -3,7 +3,7 @@ EMH=$(EMHOME)/h EMLIB=$(EMHOME)/lib SHARE=../share -LDFLAGS=-i +LDFLAGS= CPPFLAGS=-DVERBOSE -DNOTCOMPACT CFLAGS=$(CPPFLAGS) -O LINTFLAGS=-hbu diff --git a/util/ego/sp/Makefile b/util/ego/sp/Makefile index 659258c51..b35cbb9f8 100644 --- a/util/ego/sp/Makefile +++ b/util/ego/sp/Makefile @@ -4,7 +4,7 @@ EMH=$(EMHOME)/h EMLIB=$(EMHOME)/lib SHR=../share -LDFLAGS=-i +LDFLAGS= CPPFLAGS=-DVERBOSE -DNOTCOMPACT CFLAGS=$(CPPFLAGS) -O LINTFLAGS=-hbu diff --git a/util/ego/ud/Makefile b/util/ego/ud/Makefile index a06bbcd8c..572e3b9cc 100644 --- a/util/ego/ud/Makefile +++ b/util/ego/ud/Makefile @@ -4,7 +4,7 @@ EMH=$(EMHOME)/h EMLIB=$(EMHOME)/lib SHR=../share -LDFLAGS=-i +LDFLAGS= CPPFLAGS=-DVERBOSE -DNOTCOMPACT CFLAGS=$(CPPFLAGS) -O LINTFLAGS=-hbu diff --git a/util/led/Makefile b/util/led/Makefile index 5d388d111..b0feaf800 100644 --- a/util/led/Makefile +++ b/util/led/Makefile @@ -9,7 +9,7 @@ LIBDIR= $(EMHOME)/lib MODLIBDIR = $(EMHOME)/modules/lib PREFLAGS= -I$(EMHOME)/h -DNDEBUG -DNASSERT CFLAGS = $(PREFLAGS) -O -LDFLAGS = -i +LDFLAGS = LDLIBS = $(MODLIBDIR)/libstring.a $(MODLIBDIR)/libobject.a LINTFLAGS=-phbxa $(PREFLAGS) PR = pr diff --git a/util/misc/Makefile b/util/misc/Makefile index 98c7c4296..143555c31 100644 --- a/util/misc/Makefile +++ b/util/misc/Makefile @@ -17,7 +17,7 @@ HFILES=$h/em_mnem.h $h/em_spec.h $h/em_pseu.h $h/em_flag.h $h/em_ptyp.h \ $h/em_mes.h $(mh)/em.h $(mh)/em_comp.h CFLAGS=-O -I$(mh) -I$h -LDFLAGS = -i +LDFLAGS = all: $(DEC_PATH) $(ENC_PATH) esize diff --git a/util/ncgg/Makefile b/util/ncgg/Makefile index 3270f1e90..a68f42c10 100644 --- a/util/ncgg/Makefile +++ b/util/ncgg/Makefile @@ -9,7 +9,7 @@ MANDIR=$(EMHOME)/man INCLUDES=-I$(EMH) CFLAGS=-O $(INCLUDES) YFLAGS=-v -d -LDFLAGS=-i +LDFLAGS= LEXLIB=-ll diff --git a/util/opt/Makefile b/util/opt/Makefile index 16240c49f..c2c142f81 100644 --- a/util/opt/Makefile +++ b/util/opt/Makefile @@ -11,7 +11,7 @@ ONOGLOB=regnoglob.o OGLOB=regglob.o LIBS=$(EMHOME)/lib/em_data.a CFLAGS=-O -DNDEBUG -I$(EMHOME)/h -LDFLAGS=-i +LDFLAGS= LINT=lint OPR=opr PROPTS=