# "@(#)Makefile 7.4 Stellar 91/12/26" # Copyright 1989 by # Stellar Computer Inc. # All Rights Reserved # # This software comprises unpublished confidential information of # Stellar Computer 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 Stellar in: # @europa/sccs3.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. INC_FILE=$(ROOT)/usr/avs/include/Makeinclude include $(INC_FILE) MCC_LIBS=/usr/local/wt/multiC/rs6000 AVS_LIBS=$(ROOT)/usr/avs/lib BASELIBS=-lgeom -lutil -lm FLOWLIBS=-L$(AVS_LIBS) -lflow_c $(BASELIBS) $(LASTLIBS) CSIMLIBS=-L$(AVS_LIBS) -lsim_c $(BASELIBS) $(LASTLIBS) MLIBS=-L$(MCC_LIBS) -larray -lcp -lmc -lmm -lnosim -lserial 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 CFLAGS=$(ACFLAGS) $(AVS_INC) F77FLAGS=$(AFFLAGS) FFLAGS=$(F77FLAGS) AVS_EXE = $(ROOT)/usr/avs/bin/avs #********************************************************************** # Example Modules and support files lifeWT: lifeWT.mc mcc -Sc lifeWT.mc $(CC) $(CFLAGS) -o lifeWT lifeWT.c $(FLOWLIBS) $(CSIMLIBS) $(MLIBS)