diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-06-04 16:30:22 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-06-04 16:30:22 +0000 |
commit | 9dfd74c0630cc6b4807d1a63156ea63f16bea2a9 (patch) | |
tree | f1d28f23e593fd90c3c6e32439d6fdf37cbf882e /lib/make/known-architectures/aix | |
parent | 86de5090514e2a41b29520127654c8ec3edc5bc1 (diff) |
Use the C compiler rather than the preprocessor to generate dependencies for
C source files.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3233 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/known-architectures/aix')
-rw-r--r-- | lib/make/known-architectures/aix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/make/known-architectures/aix b/lib/make/known-architectures/aix index c9654abe..568e45a1 100644 --- a/lib/make/known-architectures/aix +++ b/lib/make/known-architectures/aix @@ -3,7 +3,7 @@ # @file aix # @date Wed Jul 14 12:38:45 1999 # @author Tom Goodale -# @desc +# @desc # Known-architectures file for IBM AIX systems # @enddesc # @version $Header$ @@ -43,7 +43,7 @@ else : ${F77_DEBUG_FLAGS='-g'} : ${F90_SUFFIX='f'} - CCTK_WriteLine make.arch.defn 'F90FLAGS += $(AIX_$(subst .,,$(suffix $<))_FLAGS)' + CCTK_WriteLine make.arch.defn 'F90FLAGS += $(AIX_$(subst .,,$(suffix $<))_FLAGS)' CCTK_WriteLine make.arch.defn 'AIX_F90_FLAGS =' CCTK_WriteLine make.arch.defn 'AIX_f90_FLAGS =' CCTK_WriteLine make.arch.defn 'AIX_F_FLAGS = -qfixed' @@ -54,7 +54,7 @@ else : ${C_DEPEND_OUT=' > $@'} ;; cc|xlc|xlc_r) - : ${C_DEPEND='$(CPP) -M $(CPPFLAGS)'} + : ${C_DEPEND='$(CC) -E -M $(CPPFLAGS)'} : ${C_DEPEND_OUT=' > /dev/null ; mv $(basename $(basename $@)).u $@'} : ${CFLAGS="-q$AIX_BITS -qspill=17000 -qmaxmem=-1"} ;; @@ -91,7 +91,7 @@ else fi # MPI stuff - + if test -n "$MPI" ; then # must not set linker flags for 64-bit configurations # (LD will figure these out) @@ -117,6 +117,6 @@ else ;; esac fi - fi + fi fi |