</$objtype/mkfile

BIN=$O.proj
INST=/$objtype/bin/geo

all:V: $BIN

OFILES=main.$O arc.$O ell.$O proj.$O tmerc.$O

$O.proj:   $OFILES
	$LD $LDFLAGS -o $target $prereq

%.$O:   %.c
	$CC $CFLAGS -o $stem.$O $stem.c

clean:V:
	rm -f $BIN $OFILES

$INST/%: $O.%
	cp $prereq $target

$INST:
	mkdir -p $INST

install:V: $INST $INST/proj
