EXTRA_CFLAGS=$(GETHOSTNAME)
OBJ = \
cache.o \
cachehash.o \
changetype.o \
changeprecision.o \
filecompare.o \
fpcompress.o \
g3dalloc.o \
g3dcache.o \
g3dclose.o \
g3ddefaults.o \
g3ddoubleio.o \
g3derror.o \
g3dfpxdr.o \
g3dintio.o \
g3dlong.o \
g3dmisc.o \
g3dnull.o \
g3dopen.o \
g3drange.o \
g3dvolume.o \
getblock.o \
header.o \
headerinfo.o \
index.o \
retile.o \
rle.o \
tilealloc.o \
tileio.o \
tilemath.o \
tilenull.o \
tileread.o \
tilewrite.o \
writeascii.o 

 all: $(G3DLIB)

$(G3DLIB): $(OBJ)
	$(AR)


rle.o: rle.c
changetype.o:changetype.c G3d.h G3d_intern.h
filecompare.o:filecompare.c G3d.h G3d_intern.h
fpcompress.o:fpcompress.c G3d.h G3d_intern.h
g3dalloc.o:g3dalloc.c G3d.h G3d_intern.h
g3dclose.o:g3dclose.c G3d.h G3d_intern.h
g3dintio.o:g3dintio.c G3d.h G3d_intern.h
g3ddoubleio.o:g3ddoubleio.c G3d.h G3d_intern.h
g3derror.o:g3derror.c G3d.h G3d_intern.h
g3dnull.o:g3dnull.c G3d.h G3d_intern.h
g3dopen.o:g3dopen.c G3d.h G3d_intern.h
getblock.o:getblock.c G3d.h G3d_intern.h
header.o:header.c G3d.h G3d_intern.h
index.o:index.c G3d.h G3d_intern.h
retile.o:retile.c G3d.h G3d_intern.h
tilealloc.o:tilealloc.c G3d.h G3d_intern.h
tileio.o:tileio.c G3d.h G3d_intern.h
tileread.o:tileread.c G3d.h G3d_intern.h
tilewrite.o:tilewrite.c G3d.h G3d_intern.h
tilemath.o:tilemath.c G3d.h G3d_intern.h
cache.o:cache.c G3d.h G3d_intern.h
cachehash.o:cachehash.c G3d.h G3d_intern.h
g3dcache.o:g3dcache.c G3d.h G3d_intern.h
writeascii.o:writeascii.c G3d.h G3d_intern.h
changeprecision.o:changeprecision.c G3d.h G3d_intern.h
g3dfpxdr.o:g3dfpxdr.c G3d.h G3d_intern.h
g3ddefaults.o:g3ddefaults.c G3d.h G3d_intern.h
g3dlong.o:g3dlong.c G3d.h G3d_intern.h
headerinfo.o:headerinfo.c G3d.h G3d_intern.h
g3dvolume.o:g3dvolume.c G3d.h
g3drange.o:g3drange.c G3d.h G3d_intern.h
