# UNIX makefile for the MIX interpreter # Must be changed in the spec file as well. VERS=$(shell sed MANIFEST @(cd ..; ln -s mixal mixal-$(VERS)) (cd ..; tar -czvf mixal/mixal-$(VERS).tar.gz `cat mixal/MANIFEST`) @(cd ..; rm mixal-$(VERS)) shar: shar $(DISTRIBUTION) >mixal.shar ops.inc: opcodes sort ops.inc asm.o: asm.c mix.h cell.h asm.h run.h cell.o: cell.c mix.h cell.h symbol.o: symbol.c mix.h cell.h asm.h symbol.h charset.o: charset.c mix.h cell.h charset.h driver.o: driver.c mix.h cell.h asm.h driver.h parse.h symbol.h ops.inc main.o: main.c mix.h cell.h asm.h driver.h parse.h run.h symbol.h parse.o: parse.c mix.h cell.h asm.h charset.h parse.h symbol.h run.o: run.c mix.h cell.h asm.h charset.h io.h run.h io.o: io.c mix.h cell.h charset.h io.h run.h release: mixal-$(VERS).tar.gz mixal.html shipper -f