##Makefile modeled after Theodore W Lizard
##Waistline and clothing line my own
## --Ejp, 7/12/95
##Modified 7/98, jbh - I just changed geowish to version 4.0
##modified 2/99, drm - output now geodas-wish, some lib stuff changed
##modified 1/2001 drm - for using tcl package shared libraries

##Note: if, for HP you use a shared library name of libgeodastcl.sl, be sure
##      to change this in programs geodas-search, geodas-gridtran and geodas-coastex

CC = gcc
CFLAGS = -fpic -g -c
OBJECTS = geodastcl.o \
          fmapget.o \
          fboxget.o \
          fplotget.o \
          fgridget.o \
          conv.o
	    
geodastcl: $(OBJECTS)
	 $(CC) -shared -o libgeodastcl.so $(OBJECTS) -lc -lm -ldl


clean:
	rm -f $(OBJECTS)
	rm -f libgeodastcl.so

%.o: %.c
	$(CC) $(CFLAGS) $<

