From bbce3bd894e4ead28243adbef8a607ec916c0b21 Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 17 Mar 1987 16:33:55 +0000 Subject: [PATCH] use LDFLAGS --- util/arch/Makefile | 5 +++-- util/misc/Makefile | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/util/arch/Makefile b/util/arch/Makefile index b670a43a0..ad13e7d4c 100644 --- a/util/arch/Makefile +++ b/util/arch/Makefile @@ -7,14 +7,15 @@ LIBS = $(LIB)/libobject.a $(LIB)/libprint.a \ $(LIB)/libstring.a $(LIB)/libsystem.a CFLAGS=-O -I$(EMH) +LDFLAGS = -i all: arch aal arch: arch.o - $(CC) -n -o arch arch.o $(LIBS) + $(CC) $(LDFLAGS) -o arch arch.o $(LIBS) aal: aal.o - $(CC) -i -o aal aal.o $(LIBS) + $(CC) $(LDFLAGS) -o aal aal.o $(LIBS) arch.o: $(EMH)/arch.h archiver.c $(CC) $(CFLAGS) -c archiver.c diff --git a/util/misc/Makefile b/util/misc/Makefile index 063d44a28..ad29cc667 100644 --- a/util/misc/Makefile +++ b/util/misc/Makefile @@ -17,14 +17,15 @@ 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 all: $(DEC_PATH) $(ENC_PATH) $(DEC_PATH): decode.o $(DATA_PATH) - cc -n -o $(DEC_PATH) decode.o $(DECLIBS) $(DATA_PATH) + cc $(LDFLAGS) -o $(DEC_PATH) decode.o $(DECLIBS) $(DATA_PATH) $(ENC_PATH): encode.o $(DATA_PATH) - cc -n -o $(ENC_PATH) encode.o $(ENCLIBS) $(DATA_PATH) + cc $(LDFLAGS) -o $(ENC_PATH) encode.o $(ENCLIBS) $(DATA_PATH) convert.o: $(HFILES)