53 lines
1.1 KiB
Makefile
53 lines
1.1 KiB
Makefile
EMHOME=../../..
|
|
EMH=$(EMHOME)/h
|
|
EMLIB=$(EMHOME)/lib
|
|
SHARE=../share
|
|
CPP=$(EMLIB)/cpp
|
|
|
|
LDFLAGS=-i
|
|
CPPFLAGS=-DVERBOSE -DNOTCOMPACT
|
|
CFLAGS=$(CPPFLAGS) -O
|
|
LINTFLAGS=-hbac
|
|
|
|
SOURCES = i86.descr m68k2.descr pdp.descr vax4.descr m68k4.descr m68020.descr
|
|
|
|
TARGETS = i86descr m68k2descr vax4descr pdpdescr m68k4descr m68020descr
|
|
|
|
PRFILES = Makefile descr.sed $(SOURCES)
|
|
|
|
all: $(TARGETS)
|
|
|
|
install: all
|
|
for i in $(TARGETS) ; do ../install $$i ; done
|
|
|
|
cmp: all
|
|
-for i in $(TARGETS) ; do ../compare $$i ; done
|
|
|
|
pr:
|
|
@pr $(PRFILES)
|
|
|
|
opr:
|
|
make pr | opr
|
|
|
|
clean:
|
|
rm -f $(TARGETS) *.o Out out nohup.out
|
|
|
|
i86descr: i86.descr descr.sed
|
|
$(CPP) -P -I$(EMH) i86.descr | sed -f descr.sed > i86descr
|
|
|
|
pdpdescr: pdp.descr descr.sed
|
|
$(CPP) -P -I$(EMH) pdp.descr | sed -f descr.sed > pdpdescr
|
|
|
|
m68k2descr: m68k2.descr descr.sed
|
|
$(CPP) -P -I$(EMH) m68k2.descr | sed -f descr.sed > m68k2descr
|
|
|
|
m68k4descr: m68k4.descr descr.sed
|
|
$(CPP) -P -I$(EMH) m68k4.descr | sed -f descr.sed > m68k4descr
|
|
|
|
m68020descr: m68020.descr descr.sed
|
|
$(CPP) -P -I$(EMH) m68020.descr | sed -f descr.sed > m68020descr
|
|
|
|
vax4descr: vax4.descr descr.sed
|
|
$(CPP) -P -I$(EMH) vax4.descr | sed -f descr.sed > vax4descr
|
|
|