1#
2#   Makefile for the Versatec Harris Emulator
3#
4
5OBS = dev.o font.o font2.o graph.o main.o parse.o put.o
6
7#CFLAGS = -g -DDEBUGABLE
8CFLAGS = -O
9
10all:	ndver sort tools
11
12#
13# only on turing do we actually need the driver.
14#
15install: sort
16#	install -c ndver $(DESTDIR)/ndver80
17	cd Sort; make $(MFLAGS) install
18#	cd Tools; make $(MFLAGS) install
19
20clean:
21	rm -f *.o make.out dnver
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