# "@(#)Makefile 8.9 AVS 92/10/21" # Copyright 1989,1990,1991,1992 by # Advanced Visual Systems Inc. # All Rights Reserved # # This software comprises unpublished confidential information of # Advanced Visual Systems Inc. and may not be used, copied or made # available to anyone, except in accordance with the license # under which it is furnished. # # This file is under sccs control at AVS in: # /sccs1.p/avs/examples/s.Makefile # # AVS example modules Makefile for Generic-AVS # # 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. # If AVS is not installed in /usr/avs, then set the AVS_PATH environment # variable and override it during the make as in: # setenv AVS_PATH /my_dir/avs # make -e AVS_PATH=/usr/avs INC_FILE=$(AVS_PATH)/include/Makeinclude MLIB=-lm include $(INC_FILE) AVS_LIBS=$(AVS_PATH)/lib BASELIBS=-lgeom -lutil -lm FBASELIBS=-lgeom -lutil 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 AVS_INC=-I. -I$(AVS_PATH)/include CFLAGS=$(ACFLAGS) $(AVS_INC) C_EXAMPLES= grid2txtmesh #********************************************************************** EXAMPLES=$(C_EXAMPLES) all: $(EXAMPLES) # # Make sure to clean all out files that were created so that pkgrm can # remove this directory # clean: rm -f *.o $(EXAMPLES) #********************************************************************** # Example Modules and support files grid2txtmesh: grid2txtmesh.o $(CC) $(CFLAGS) -o grid2txtmesh grid2txtmesh.o $(FLOWLIBS)