1# 2# 1.2 (CWI) 87/11/18 3# 4# Makefile for the Versatec Harris Emulator 5# 6 7OBS = dev.o font.o font2.o graph.o main.o parse.o put.o 8 9#CFLAGS = -g -DDEBUGABLE 10CFLAGS = -O 11LIBDIR = /usr/lib 12 13all: ndver sort tools 14 15install: all 16 install -c ndver $(DESTDIR)${LIBDIR}/ndver80 17 cd Sort; make $(MFLAGS) DESTDIR=${DESTDIR} install 18 cd Tools; make $(MFLAGS) DESTDIR=${DESTDIR} install 19 20clean: 21 rm -f *.o make.out ndver 22 cd Sort; make $(MFLAGS) clean 23 cd Tools; make $(MFLAGS) clean 24 25ndver: $(OBS) 26 $(CC) $(CFLAGS) $(OBS) -lm -o ndver 27 28sort:; cd Sort; make $(MFLAGS) all 29tools:; cd Tools; make $(MFLAGS) all 30 31 32$(OBS): Makefile 33font.o put.o dev.o: the.h dev.h 34font2.o: the.h defs.h 35main.o parse.o: the.h 36