|
Last change
on this file since 3709 was
1846,
checked in by mlefevre, 8 years ago
|
|
MESOSCALE. -C option causes problem on some environment, got rid of in the makefiles and in configure.wrf (via makemeso)
|
|
File size:
886 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 |
|---|
| 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 | .F90.o: |
|---|
| 23 | $(CPP) $*.F90 | $(M4) - > $*.f |
|---|
| 24 | $(FC) $(FFLAGS) -I../ioapi_share -c $*.f |
|---|
| 25 | |
|---|
| 26 | superclean: |
|---|
| 27 | /bin/rm -f *.f *.o libwrfio_mcel.a |
|---|
| 28 | |
|---|
| 29 | # DEPENDENCIES : only dependencies after this line (don't remove the word DEPENDENCIES) |
|---|
| 30 | |
|---|
| 31 | ext_mcel_open_for_read.o : io_mcel.o |
|---|
| 32 | ext_mcel_open_for_write.o : io_mcel.o |
|---|
| 33 | ext_mcel_read_field.o : io_mcel.o |
|---|
| 34 | ext_mcel_write_field.o : io_mcel.o |
|---|
| 35 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.