############################################################ # # makefile for the DEPAKEing program # # Written by: Ed Sternin, Brock U., Dept. of Physics, # Completed: Dec.1992 # # Customizing: You must customize part of this makefile for your site. # ############################################################ general # #...What to make by default TARGET = depake #...Desitination directory for the executables BINDEST = /usr/local/bin #...Choose your compilers and basic compiler flags. #CC = cc # the C compiler FOR = f77 # the Fortran compiler FOPTS = -O -static -vms_cc -vms_stdin # -O if you trust your compiler's optimizer #COPTS = -O # -O if you trust your compiler's optimizer #AR = ar #AROPTS = -ruv #LD =$(CC) $(CFLAGS) # default loading command #...libraries to include (-lm -lc on most systems) LIBS= -lgl_s -lm -lc ########################################################### X11 support #...X11 libraries X11LIBS = -lXaw -lXmu -lXt -lXext -lX11 #...X11 include directories X11INCLUDES = -I/usr/include/X11 -I/usr/include/X11/Xaw -I/usr/include/X11/Xmu #...TRIUMF graphics library TRIUMFLIB = /usr/local/triumf/gplot.a ############################################################ # OK, you've changed enough. Now type 'make'. ######################################################### make rules depake: depake.f $(FOR) $(FOPTS) -o depake depake.f $(TRIUMFLIB) $(LIBDIR) $(X11LIBS) test: test.f $(FOR) $(FOPTS) -o test test.f $(TRIUMFLIB) $(LIBDIR) $(X11LIBS) .c.o:; .f.o:; .c.a:; .f.a:; install: depake -mkdir $(BINDEST) $(INSTALL) -m 755 -f $(BINDEST) depake clean: rm -f *.o depake test