WORDLENGTH now defined in automatically generated file wordlen.h

Generate this file from makewlen.c
This commit is contained in:
bal 1984-12-04 15:04:01 +00:00
parent 0d0e2d2d22
commit 3cdaf9f4ba

View file

@ -4,11 +4,8 @@ EML=$(EM)/lib
CFLAGS=-DVERBOSE -DNOTCOMPACT CFLAGS=-DVERBOSE -DNOTCOMPACT
SRC=types.h def.h debug.h debug.c global.h global.c files.h files.c go.h go.c map.h map.c aux.h aux.c get.h get.c put.h put.c alloc.h alloc.c lset.h lset.c cset.h cset.c parser.h parser.c stack_chg.h stack_chg.c locals.h locals.c init_glob.h init_glob.c SRC=types.h def.h debug.h debug.c global.h global.c files.h files.c go.h go.c map.h map.c aux.h aux.c get.h get.c put.h put.c alloc.h alloc.c lset.h lset.c cset.h cset.c parser.h parser.c stack_chg.h stack_chg.c locals.h locals.c init_glob.h init_glob.c
.SUFFIXES: .m all: classdefs.h pop_push.h wordlen.h alloc.o cset.o debug.o files.o go.o global.o lset.o map.o parser.o get.o put.o aux.o stack_chg.o locals.o init_glob.o
.c.m:
ack -O -L -c.m $(CFLAGS) $<
all: classdefs.h alloc.o cset.o debug.o files.o go.o global.o lset.o map.o parser.o get.o put.o aux.o stack_chg.o locals.o init_glob.o
optim: classdefs.h alloc.m cset.m debug.m files.m global.m lset.m map.m parser.m get.m put.m stack_chg.m locals.m init_globl.m
classdefs.h: \ classdefs.h: \
makeclassdef \ makeclassdef \
cldefs.src cldefs.src
@ -16,9 +13,16 @@ classdefs.h: \
makeclassdef: \ makeclassdef: \
makecldef.c makecldef.c
$(CC) -o makeclassdef makecldef.c $(CC) -o makeclassdef makecldef.c
pop_push.h: \ pop_push.h: \
$(EM)/etc/em_table pop_push.awk $(EM)/etc/em_table pop_push.awk
awk -f pop_push.awk < $(EM)/etc/em_table > pop_push.h awk -f pop_push.awk < $(EM)/etc/em_table > pop_push.h
wordlen.h: makewordlen
makewordlen > wordlen.h
rm makewordlen makewlen.o
makewordlen: makewlen.c
$(CC) -o makewordlen makewlen.c
lpr: lpr:
pr $(SRC) | lpr pr $(SRC) | lpr
opr: opr: