PGM  = d.labels

LIST =	main.o \
	get_loc.o \
	opencell.o\
	display.o\
	in_window.o\
	check_resp.o\
        show.o\
	where.o\
	modify.o \
	output.o\
	gather.o\
	proc_new.o\
	proc_old.o\
	setup.o\
	show_a_label.o\
        do_label.o\
        update.o

LIBES=$(VASKLIB) $(DISPLAYLIB) $(RASTERLIB) $(GISLIB) 
DEPLIBS=$(DEPVASKLIB) $(DEPDISPLAYLIB) $(DEPRASTERLIB) $(DEPGISLIB) 

$(BIN_INTER)/$(PGM): $(LIST) $(DEPLIBS)
	$(CC) $(LDFLAGS) -o $@ $(LIST) $(LIBES) $(CURSES) $(MATHLIB) $(XDRLIB)

$(LIST): config.h
check_resp.o : check_resp.c helptext.h
####################################################################
$(DEPGISLIB):	# in case the library changes
$(DEPVASKLIB):	# in case the library changes
$(DEPDISPLAYLIB):  #
$(DEPRASTERLIB):   #

