/usr/src/oasis3/cheoa3/Makefile_1 is in oasis3-examples 3.3.beta.dfsg.1-8build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | SRCS1 = $(shell find ../../../../src/mod/$(MODEL_DIR)/$(strip $(SRC)) -name '*.F90' -print)
OBJS1 = $(patsubst ../../../../src/mod/$(MODEL_DIR)/$(strip $(SRC))/%.F90, %.o, $(SRCS1))
VPATH = .:../../../../src/mod/$(MODEL_DIR)/$(strip $(SRC)):\
../../../../src/mod/$(MODEL_DIR)/include:\
../../lib/psmile.${CHAN}:\
../../../lib/$(MODEL_DIR):\
../../../lib:\
$(NETCDF_INCLUDE):$(MPI_INCLUDE):$(SYS_INCLUDE)
LIBRARY = ../../../lib/$(MODEL_DIR)/lib$(MODLIB).a
PROG = ../../../bin/$(EXEC).x
INCLS = -I../../../../src/mod/$(MODEL_DIR)/include \
-${I4mods}../../lib/psmile.${CHAN}
clean:
rm -f $(LIBRARY)
rm -f i.* *.o *.mod
rm -f Top_Makefile_*
all: $(PROG)
lib: $(LIBRARY)
$(PROG): $(DEPLIBS) $(LIBRARY)
$(F90) $(LDFLAGS) -o $@ $(MAINPRG).o $(LIBS)
$(LIBRARY): $(OBJS1)
$(AR) $(ARFLAGS) $(LIBRARY) $(OBJS1)
.SUFFIXES:
.SUFFIXES: .o .F90
%.o: %.F90
$(F90) $(INCLS) $(F90FLAGS) -c $<
#
# All dependencies ...
#
# Dont add anything behind this line
|