ack/util/ego/descr/Makefile

53 lines
1.1 KiB
Makefile
Raw Normal View History

1987-01-13 10:53:33 +00:00
EMHOME=../../..
EMH=$(EMHOME)/h
EMLIB=$(EMHOME)/lib
SHARE=../share
1987-02-23 19:18:57 +00:00
CPP=$(EMLIB)/cpp
1987-01-13 10:53:33 +00:00
LDFLAGS=-i
CPPFLAGS=-DVERBOSE -DNOTCOMPACT
CFLAGS=$(CPPFLAGS) -O
LINTFLAGS=-phbac
1987-02-23 19:18:57 +00:00
SOURCES = i86.descr m68k2.descr pdp.descr vax4.descr m68k4.descr m68020.descr
1987-01-13 10:53:33 +00:00
1987-02-23 19:18:57 +00:00
TARGETS = i86descr m68k2descr vax4descr pdpdescr m68k4descr m68020descr
1987-01-13 10:53:33 +00:00
PRFILES = Makefile descr.sed $(SOURCES)
all: $(TARGETS)
install: all
1987-03-04 16:43:03 +00:00
for i in $(TARGETS) ; do ../install $$i ; done
1987-01-13 10:53:33 +00:00
cmp: all
1987-03-04 16:43:03 +00:00
-for i in $(TARGETS) ; do ../compare $$i ; done
1987-01-13 10:53:33 +00:00
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
1987-02-23 19:18:57 +00:00
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
1987-01-13 10:53:33 +00:00
vax4descr: vax4.descr descr.sed
$(CPP) -P -I$(EMH) vax4.descr | sed -f descr.sed > vax4descr