1# Makefile for get/qcr directory
2#
3# Probably only compiles on an HP-UX machine
4#
5
6default: all
7
8#set	DEST	GET_DEST	Where to install it
9DEST = ../../bin
10
11DIRLIBS = $(LIBHPQCR)
12
13PGMS = getqcr.out bright.out qcrldmap.out wedge.out
14
15all: $(PGMS)
16
17getqcr.out: qcr.o getqcr.o
18	cc -o getqcr.out qcr.o getqcr.o $(LIBS)
19
20bright.out: bright.o qcr.o
21	cc -o bright.out bright.o qcr.o -ldvio
22
23qcrldmap.out: qcrldmap.o qcr.o
24	cc -o qcrldmap.out qcrldmap.o qcr.o $(LIBS)
25
26wedge.out: wedge.o qcr.o
27	cc -o wedge.out wedge.o qcr.o -ldvio
28
29# Incremental install, copies executable to DEST dir.
30install: default install-pgm
31	touch install
32
33pristine: pristine-pgm
34
35clean: clean-pgm
36
37# All .o files depend on rle_config.h
38qcr.o getqcr.o bright.o qcrldmap.o wedge.o: $(RI)/rle_config.h
39