|
Last change
on this file since 1746 was
1746,
checked in by aslmd, 9 years ago
|
|
MESOSCALE. makemeso module_initialize_les module_initialize_real reverted back to r1723 because commit r1724 was based on corrupted versions.
|
|
File size:
575 bytes
|
| Line | |
|---|
| 1 | netcdfpath=/home/aymeric/Science/NETCDF/netcdf64-4.0.1_gfortran |
|---|
| 2 | spherepackpath=./spherepack3.2 |
|---|
| 3 | FC=gfortran |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | FFLAGS=-I${netcdfpath}/include -I${spherepackpath}/lib |
|---|
| 7 | #LDFLAGS=-L${netcdfpath}/lib -lnetcdf -L${spherepackpath}/lib -lspherepack |
|---|
| 8 | LDFLAGS=-L${netcdfpath}/lib -lnetcdf -lnetcdff -L${spherepackpath}/lib -lspherepack |
|---|
| 9 | |
|---|
| 10 | SRCS= $(wildcard *.f90) |
|---|
| 11 | OBJS=$(SRCS:.f90=.o) |
|---|
| 12 | EXEC=$(SRCS:.f90=) |
|---|
| 13 | TMP=$(SRCS:=~) |
|---|
| 14 | |
|---|
| 15 | all: spectra_analysis test_harmonic |
|---|
| 16 | |
|---|
| 17 | %.o: %.f90 |
|---|
| 18 | $(FC) $(FFLAGS) -c $< |
|---|
| 19 | |
|---|
| 20 | %: %.o |
|---|
| 21 | $(FC) $(FFLAGS) -o $@ $^ $(LDFLAGS) |
|---|
| 22 | |
|---|
| 23 | .PHONY: clean |
|---|
| 24 | |
|---|
| 25 | clean: |
|---|
| 26 | rm -f $(OBJS) $(EXEC) $(TMP) |
|---|
| 27 | |
|---|
| 28 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.