PGM      = m.dted.extract
PACKAGE = "m.dted.extract"
DEFS = -Wall -DPACKAGE=\"$(PACKAGE)\"
EXTRA_CFLAGS    = $(DEFS)

LIST = main.o\
	extract.o\
	error.o\
	getargs.o\
	io.o\
	printgeo.o\
	readtape.o\
	round.o\
	usage.o\
	uhl.o\
	write_hd.o\
	zero_out.o


$(BIN_CMD)/$(PGM): $(LIST) $(DEPGISLIB)
	$(CC) $(LDFLAGS) -o $@ $(LIST) $(GISLIB) $(MATHLIB) $(XDRLIB)

$(LIST): dma.h

$(DEPGISLIB):      # in case library changes
