# AVS example modules Makefile for ESContour, # Portable Version by Ian Curington, January 93. # # There are some definitions like INC_FILE, F77_INC, etc that do not # ordinarily need to be separated out - but this Makefile may be used # from a variety of build environments. INC_FILE=$(ROOT)/usr/avs/include/Makeinclude include $(INC_FILE) AVS_LIBS = $(ROOT)/usr/avs/lib BASELIBS=-lgeom -lutil -lgeom -lm FLOWLIBS=-L$(AVS_LIBS) -lflow_c $(BASELIBS) $(LASTLIBS) CSIMLIBS=-L$(AVS_LIBS) -lsim_c $(BASELIBS) $(LASTLIBS) MODLIBS=-L$(AVS_LIBS) -lmdata -lmfilt -lmmapp -lmrend -lrf F77_FLOWLIBS=-L$(AVS_LIBS) -lflow_f $(BASELIBS) $(LASTFLIBS) F77_SIMLIBS=-L$(AVS_LIBS) -lsim_f $(BASELIBS) $(LASTFLIBS) F77_BIND = $(ROOT)/usr/avs/bin/f77_binding AVS_INC = -I. -I$(ROOT)/usr/avs/include F77_INC = $(ROOT)/usr/avs/include # # Opt Flags CFLAGS=$(ACFLAGS) $(AVS_INC) # Debug: #CFLAGS= -gg $(AVS_INC) # F77FLAGS=$(AFFLAGS) FFLAGS=$(F77FLAGS) #********************************************************************** all: isoline_slice #********************************************************************** isoline_slice: isoline_slice.o cell_line.o hsv_rgb.o facet_normal.o \ vertex_normal.o $(F77) $(F77FLAGS) isoline_slice.o cell_line.o hsv_rgb.o facet_normal.o \ vertex_normal.o \ -o $@ $(F77_FLOWLIBS) isoline_slice.o: isoline_slice.f $(F77) $(F77FLAGS) isoline_slice.f -c -o isoline_slice.o clean: rm -f isoline_slice.o cell_line.o hsv_rgb.o facet_normal.o \ vertex_normal.o isoline_slice core