# # Local Makefile called by the main Makefile. # CREATED BY Framework_Code_Generator.pl. # include $(MAKE_RULES) LIB_NAME = libPFAAST.a F90_OBJ = run_pfaast_interface.o F90_SRC = $(F90_OBJ:.o=.f90) FC_OBJ = FC_SRC = $(FC_OBJ:.o=.f) CXX_OBJ = CXX_SRC = $(CXX_OBJ:.o=.cpp) CC_OBJ = CC_SRC = $(CC_OBJ:.o=.c) OBJS = $(F90_OBJ) $(FC_OBJ) $(CXX_OBJ) $(CC_OBJ) # make parallel after identifying dependencies for FORTRAN objects, if any # archiving must be made sequential in case of subdirectories .NOTPARALLEL: .PHONY: all all: $(LIB_NAME) $(LIB_NAME): $(OBJS) $(AR) $(AR_FLAGS) $(LIB_NAME) $? # # Clean up files. # clean: rm -f *.o *.a *.mod