#helpon ######################################################################### # # # Makefile for the GrACE applications # # # # Allowable external targets: # # # # - help print out this top banner message # # - clean remove all files generated by the make # # # # Author: Manish Parashar # # # ######################################################################### #helpoff help: @awk '/#helpon/, /#helpoff/' Makefile | \ egrep -v "(helpon|helpoff)" | more # Top directory for the GrACE system !! GrACE_HOME = # Define the system you are using SYSTEM = # Include architecture specific makefile include $(GrACE_HOME)/arch_makes/make.defn.$(SYSTEM) ######################################################################### # Application Makefile !!! # ######################################################################### .SUFFIXES: .C .c .F .o .a .f .f9 .cpp # Define application FORTRAN sources & objects APP_F_SRC = APP_F_OBJ = $(APP_F_SRC:.f=.o) # Define application C++ sources & objects APP_CC_SRC = APP_CC_OBJ = $(APP_CC_SRC:.C=.o) APPOBJ = $(APP_F_OBJ) $(APP_CC_OBJ) # Application specific Flags C++APPFLAGS = CAPPFLAGS = F77APPFLAGS= F90APPFLAGS = # Application specific libraries APPLIB = EXEC = $(EXEC): $(APPOBJ) $(RM) $(EXEC) $(C++LINK) $(C++FLAGS) -o $@ \ $(APPOBJ) $(APPLIB) $(LDLIBS) ######################################################################### # # # Clean up the application files, any core files, the compiler created # # template repository ! # # # ######################################################################### clean: $(RM) *.o core $(EXEC) $(RM) -r $(REPOSITORY)