~wence/fluidity/make-fixes

« back to all changes in this revision

Viewing changes to debug/Makefile.in

  • Committer: Lawrence Mitchell
  • Date: 2011-05-26 15:04:09 UTC
  • mfrom: (3470.2.9 fluidity)
  • Revision ID: lawrence.mitchell@ed.ac.uk-20110526150409-umwrmt43ateiawr5
MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
SHELL = @SHELL@
29
29
 
30
30
FC      = @FC@
31
 
FCFLAGS = -I../include @CPPFLAGS@ @FCFLAGS@ -I/usr/local/include -I./
 
31
FCFLAGS = -I../include @MOD_FLAG@../include @CPPFLAGS@ @FCFLAGS@ -I/usr/local/include -I./
32
32
 
33
33
MPIF90  = @MPIF90@
34
34
 
52
52
# cancel implicit rule that tries to make .o from .mod with m2c:
53
53
%.o: %.mod
54
54
 
55
 
.f90.o:
56
 
        @echo "        FC $<"
57
 
        $(FC) $(FCFLAGS) -c $<
 
55
 
58
56
.F90.o:
59
57
        @echo "        FC $<"
60
 
        $(FC) $(FCFLAGS) -c $<
 
58
        $(FC) $(FCFLAGS) $(GENFLAGS) -c $<
61
59
.c.o:
62
60
        @echo "        CC $<"
63
61
        $(CC) $(CFLAGS) -c $<
68
66
$(LIB): $(OBJS)
69
67
        @mkdir -p ../lib
70
68
        @$(AR) $(ARFLAGS) $(LIB) $(OBJS)
71
 
        @cp *.mod ../include/
72
69
default: $(LIB)
73
70
 
 
71
 
74
72
$(F90LIB): $(F90LIB_OBJS)
75
73
        @mkdir -p ../lib
76
74
        $(AR) $(ARFLAGS) $(F90LIB).a $(F90LIB_OBJS)
77
 
        cp *.mod ../include/
78
75
 
79
76
clean:
80
77
        rm -f *.o *.mod
81
 
        
82
 
Debug.o: Debug_Parameters.o
83
78
 
84
 
Diagnostic_Output.o: Debug_Parameters.o
 
79
include Makefile.dependencies