Added "standard" entries

This commit is contained in:
ceriel 1987-01-13 10:08:47 +00:00
parent 3cb30fa873
commit 692d3702a1

View file

@ -1,6 +1,13 @@
EMH=../../../h
EMLIB=../../../lib
SHR=../share
EMHOME=../../..
EMH=$(EMHOME)/h
EMLIB=$(EMHOME)/lib
SHARE=../share
LDFLAGS=-i
CPPFLAGS=-DVERBOSE -DNOTCOMPACT
CFLAGS=$(CPPFLAGS) -O
LINTFLAGS=-phbac
CFILES=\
cf.c cf_succ.c cf_idom.c cf_loop.c
@ -24,6 +31,8 @@ $(SHR)/get.m $(SHR)/put.m $(SHR)/alloc.m $(SHR)/global.m \
$(SHR)/debug.m $(SHR)/files.m $(SHR)/map.m $(SHR)/lset.m \
$(SHR)/cset.m $(SHR)/aux.m
all: cf
cf: $(OFILES)
$(CC) -o cf $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a
@ -31,12 +40,27 @@ cf_ack: $(CFILES) $(SHARE_MFILES)
$(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES)
$(CC) -o cf -.c $(LDFLAGS) cf.o $(EMLIB)/em_data.a
install: all
../install cf
cmp: all
-../compare cf
pr:
@pr $(PRFILES)
opr:
make pr | opr
clean:
rm -f cf *.o Out out nohup.out
lint:
lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES)
pr: $(PRFILES)
print: $(PRFILES)
@pr $?
@touch pr
@touch print
depend:
$(SHR)/makedepend