From 3fa173ab5694e450a996ffc383fb9675656f4d0f Mon Sep 17 00:00:00 2001 From: phil Date: Fri, 25 Oct 2019 17:58:37 -0400 Subject: [PATCH] Makefile: call CFLAGS for compiling near-B code BFLAGS! --- build/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/Makefile b/build/Makefile index babacf7..7620dd8 100644 --- a/build/Makefile +++ b/build/Makefile @@ -8,7 +8,7 @@ ASARGS=--format=ptr MKFS=../tools/mkfs7 A7OUT=../tools/a7out FSCK=../tools/fsck7 -CCARGS=-Wno-multichar -Wno-implicit +BFLAGS=-Wno-multichar -Wno-implicit PDP7=pdp7 # source dirs @@ -215,10 +215,10 @@ $(BINDIR)/un: $(CMDSRC)/un.s others: dirs $(BINDIR)/b $(BINDIR)/date $(BINDIR)/mv $(BINDIR)/od -# B compiler -- renamed from bc to b +# PLB: B compiler -- renamed from bc to b # there is a bc.s in the second set of scans! $(BINDIR)/b: $(CMDSRC)/bl.s $(CMDSRC)/bi.s ../tools/b.c $(OTHERSRC)/b.b - $(CC) $(CCARGS) -o b ../tools/b.c + $(CC) $(BFLAGS) -o b ../tools/b.c ./b $(OTHERSRC)/b.b b.s $(AS) $(ASARGS) -o $(BINDIR)/b $(CMDSRC)/bl.s b.s $(CMDSRC)/bi.s rm b b.s