# # makefile for d8tape # # (C) Copyright 2001, 2003, Robert Krten, all rights reserved. # Please see the LICENSE file for more information. # # I collect PDP systems of almost all shapes and sizes; send me an # email to "rk@parse.com" if you have one to give away, sell, # or trade, or visit the museum at http://www.parse.com/~museum/ # # 2001 01 07 R. Krten created # # The "bm" utility in the "core:" target simply increments # the version number -- you can comment out that line with # no ill effects, or simply "ln /bin/true /usr/local/bin/bm" # to nullify its effects. # "usemsg" is a QNX-specific utility; you can do away with it # in the same way as the "bm" utility. # DEBUG = -g2 OBJECTS = main.o dasm.o CFLAGS = -w9 $(DEBUG) LDFLAGS = $(DEBUG) Common = Makefile core: $(OBJECTS) bm -h version.c cc $(CFLAGS) -o core $(OBJECTS) version.c $(LDFLAGS) usemsg -c core main.c main.o: main.c $(Common) install: make cp -v core /usr/local/bin/d8tape release: make clean tar cvf d8tape.tar Makefile *.c *.h LICENSE gzip -9v d8tape.tar clean: rm -f *.o core