source: branches/command2nml/Makefile @ 7

Last change on this file since 7 was 7, checked in by hasod, 11 years ago

Initial import

  • namelist input for COMMAND
  • pathnames optionally as command line argument
  • conversion utility from COMMAND to COMMAND namelist
File size: 364 bytes
Line 
1SHELL = /bin/bash
2MAIN = command2nml
3#
4
5FC       = gfortran
6LIBPATH2 = /usr/local/lib
7FFLAGS   = -O3 -m64
8LDFLAGS  = $(FFLAGS) -L$(LIBPATH2) -lm
9#
10
11MODOBJS = \
12par_mod.o       com_mod.o
13
14OBJECTS = \
15skplin.o        command2nml.o
16
17$(MAIN): $(MODOBJS) $(OBJECTS)
18        $(FC) *.o -o $(MAIN) $(LDFLAGS)
19
20$(OBJECTS): $(MODOBJS)
21
22%.o: %.f90
23        $(FC) -c $(FFLAGS) $<
24
25clean:
26        rm *.o *.mod
27
Note: See TracBrowser for help on using the repository browser.
hosted by ZAMG