Last change
on this file was
2762,
checked in by aslmd, 2 years ago
|
M Lefevre: option -C makes things bad in some OS (was done previously in LMD_LES_mars_install
|
File size:
985 bytes
|
Line | |
---|
1 | #makefile to build io_mcel that does binary i/o |
---|
2 | |
---|
3 | OBJSL = io_mcel.o ext_mcel_open_for_read.o ext_mcel_open_for_write.o ext_mcel_read_field.o ext_mcel_write_field.o timeconvert.o |
---|
4 | OBJS = $(OBJSL) |
---|
5 | OPTS = |
---|
6 | FFLAGS = $(OPTS) -w -g |
---|
7 | LIBS = |
---|
8 | CPP = /lib/cpp -P $(TRADFLAG) |
---|
9 | M4 = m4 -Uinclude -Uindex -Ulen |
---|
10 | AR = ar |
---|
11 | RANLIB = echo |
---|
12 | |
---|
13 | .SUFFIXES: .F90 .F .f .o .code |
---|
14 | |
---|
15 | all : libwrfio_mcel.a |
---|
16 | |
---|
17 | libwrfio_mcel.a: $(OBJS) |
---|
18 | /bin/rm -f libwrfio_mcel.a |
---|
19 | $(AR) cr libwrfio_mcel.a $(OBJSL) |
---|
20 | $(RANLIB) libwrfio_mcel.a |
---|
21 | |
---|
22 | timeconvert.o : timeconvert.c |
---|
23 | $(CC) -c timeconvert.c |
---|
24 | |
---|
25 | .F90.o: |
---|
26 | $(CPP) $(TRADFLAG) $(INCL) $*.F90 | $(M4) - > $*.f |
---|
27 | $(FC) $(FFLAGS) $(INCL) -I../ioapi_share -c $*.f |
---|
28 | |
---|
29 | superclean: |
---|
30 | /bin/rm -f *.f *.o libwrfio_mcel.a |
---|
31 | |
---|
32 | # DEPENDENCIES : only dependencies after this line (don't remove the word DEPENDENCIES) |
---|
33 | |
---|
34 | ext_mcel_open_for_read.o : io_mcel.o |
---|
35 | ext_mcel_open_for_write.o : io_mcel.o |
---|
36 | ext_mcel_read_field.o : io_mcel.o |
---|
37 | ext_mcel_write_field.o : io_mcel.o |
---|
38 | |
---|
Note: See
TracBrowser
for help on using the repository browser.