پاسخ : makefile script

ساخت وبلاگ

من برای نصب یک نرم افزار تخصصی نیاز به این اصطلاحات داشتم که در انجمن تخصصی این نرم افزار به من پاسخ زیر را دادند

here the Makefile
uses ncargf90 in place of $(LD) in order to link in the NCAR graphics package. Make sure this is in
your path and consistent with $(LDFLAGS) as defined in ../../config/$(ARCH)_setup.

#
# -------------------------------------------------------------------------
# Common definitions for x64_64 gfortran, single processor, real*4
# -------------------------------------------------------------------------
#
# MACROS      DESCRIPTIONS:
#
# FC:         Fortran 90 compiler.
# FCFFLAGS:   Fortran 90 compilation flags.
# CC:         C compiler.
# CCFLAGS:    C compilation flags.
# CPP:        cpp preprocessor (may be implied by FC).
# CPPFLAGS:   cpp -D macro flags.
# LD:         Loader.
# LDFLAGS:    Loader flags.
# EXTRALIBS:  Extra local libraries (if any).
#
FC            =   gfortran
FCFFLAGS      =   -fPIC -fno-second-underscore -fconvert=big-endian -O
CC            =   gcc
CCFLAGS       =   -fPIC -fno-second-underscore -O
CPP           =   cpp -P
CPPFLAGS      =   -DIA32 -DREAL4
LD            =   $(FC)
LDFLAGS       =   $(FCFFLAGS)
EXTRALIBS     =

#
# --- generic make definitions
#
SHELL         = /bin/sh
RM            = rm -f

#
# rules.
#

.c.o:
   $(CC) $(CPPFLAGS) $(CCFLAGS)  -c $*.c

.f.o:
   $(FC)             $(FCFFLAGS) -c $*.f

.F.o:
   $(FC) $(CPPFLAGS) $(FCFFLAGS) -c $*.F

اوبونتو...
ما را در سایت اوبونتو دنبال می کنید

برچسب : نویسنده : استخدام کار ubuntu بازدید : 138 تاريخ : پنجشنبه 9 ارديبهشت 1395 ساعت: 22:15