File:  [Research Unix] / researchv10no / cmd / sml / src / mips / Makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:34 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

NOTANGLE=notangle
NOWEAVE=noweave
AWK=nawk
CFLAGS=-g
CC=cc

.SUFFIXES: .nw .sml .sig .awk .tex .dvi .s .print 

.nw.sml:
	$(NOTANGLE) $*.nw > $*.sml

.nw.sig:
	$(NOTANGLE) -Rsignature $*.nw > $*.sig

.nw.s:
	$(NOTANGLE) $*.nw > $*.s

.nw.awk:
	$(NOTANGLE) $*.nw > $*.awk

.nw.tex:
	$(NOWEAVE) $*.nw > $*.tex

.tex.dvi:
	tex $*.tex

.nw.dvi:
	$(NOWEAVE) $*.nw > $*.tex
	tex $*.tex

.dvi.print:
	lpr -d $*.dvi

.s.o:
	as  -o $*.o $*.s

all: mipscoder.sml mipscoder.sig opcodes.sml mipsdecode.sml mipsreal.sml \
     mips.sml mipsglue.sml emitters.sml emitters.sig

opcodes.sml: opcodes.awk opcodes.nw
	$(NOTANGLE) '-Ropcodes table' opcodes.nw | $(AWK) -f opcodes.awk > opcodes.sml

mipsdecode.sml: opcodes.awk opcodes.nw
	$(NOTANGLE) '-Ropcodes table' opcodes.nw | $(AWK) -f opcodes.awk > opcodes.sml


clean:
	rm -f *~ *.o *.log *.dvi *.tex *.makelog



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.