gente preciso achar erros em meu makefile podriam me ajudar?

1. gente preciso achar erros em meu makefile podriam me ajudar?

messias de souza rocha
messiask9

(usa Ubuntu)

Enviado em 02/11/2011 - 20:20h

messias@dav001 src]$ ./Makefile
./Makefile: line 1: F77C: command not found
./Makefile: line 2: VERSION: command not found
./Makefile: line 3: VPATH: command not found
./Makefile: line 6: VERSION: command not found
./Makefile: line 6: DUMSEXE: command not found
./Makefile: line 8: VERSION: command not found
./Makefile: line 8: CH5SEXE: command not found
./Makefile: line 9: VERSION: command not found
./Makefile: line 9: CLHBRSEXE: command not found
./Makefile: line 10: VERSION: command not found
./Makefile: line 10: CH4OSEXE: command not found
./Makefile: line 11: VERSION: command not found
./Makefile: line 11: CMCSEXE: command not found
./Makefile: line 12: VERSION: command not found
./Makefile: line 12: CWMCSEXE: command not found
./Makefile: line 13: VERSION: command not found
./Makefile: line 13: NH3SEXE: command not found
./Makefile: line 14: VERSION: command not found
./Makefile: line 14: H2NISEXE: command not found
./Makefile: line 15: VERSION: command not found
./Makefile: line 15: H3SEXE: command not found
./Makefile: line 16: VERSION: command not found
./Makefile: line 16: HNISEXE: command not found
./Makefile: line 17: VERSION: command not found
./Makefile: line 17: OH3SEXE: command not found
./Makefile: line 18: VERSION: command not found
./Makefile: line 18: OHCLSEXE: command not found
./Makefile: line 19: VERSION: command not found
./Makefile: line 19: HO2SEXE: command not found
./Makefile: line 22: .f.o:: command not found
./Makefile: line 23: syntax error near unexpected token `newline'
./Makefile: line 23: ` $(F77C) -c $<'
esses erros eu tinha !! com essse makefile.

F77C = /usr/bin/g77 -O -fno-automatic
VERSION =9.7
VPATH = ../poten
# executables that can be built from this makefile

DUMSEXE = ../exe/polyrate$(VERSION).dum.serial.exe

CH5SEXE = ../exe/polyrate$(VERSION).ch5.serial.exe
CLHBRSEXE = ../exe/polyrate$(VERSION).clhbr.serial.exe
CH4OSEXE = ../exe/polyrate$(VERSION).ch4o.serial.exe
CMCSEXE = ../exe/polyrate$(VERSION).cmc.serial.exe
CWMCSEXE = ../exe/polyrate$(VERSION).cwmc.serial.exe
NH3SEXE = ../exe/polyrate$(VERSION).nh3.serial.exe
H2NISEXE = ../exe/polyrate$(VERSION).h2ni.serial.exe
H3SEXE = ../exe/polyrate$(VERSION).h3.serial.exe
HNISEXE = ../exe/polyrate$(VERSION).hni.serial.exe
OH3SEXE = ../exe/polyrate$(VERSION).oh3.serial.exe
OHCLSEXE = ../exe/polyrate$(VERSION).ohcl.serial.exe
HO2SEXE = ../exe/polyrate$(VERSION).ho2.serial.exe
#User may add new executables here

.f.o:
$(F77C) -c $<
.c.o:
cc -c
export F77C VERSION VPATH DUMSEXE CH5SEXE CLHBRSEXE CH40SEXE
CMCSEXE NH3SEXE H2NISEXE H3SEXE HNISEXE OH3SEXE OHCLSEXE HO2SEXE
> OBJ = dattim.o dateclock.o givtst.o intbsv3.o poly40.o \
> polyrr.o headr.o interface.o polysz.o ef.o \
> hooks.o ivtstm.o polyag.o rtpjac.o \
> energetics.o intbsv1.o acespoly.o main.o \
> polyhl.o fromblas.o intbsv2.o poly31.o polymq
> $ (F77C)-c ../poten/ch4o.f
> ch5.o: ../poten/ch5.f
> $ (F77C)-c ../poten/ch5.f
> chain3.o: ../poten/chain3.f
> $ (F77C)-c ../poten/chain3.f
> chain4.o: ../poten/chain4.f
> $ (F77C)-c ../poten/chain4.f
> clhbr.o: .. / po / clhbr.f
> $ (F77C)-c .. / po / clhbr.f
> cmc.o: .. / po / cmc.f
> $ (F77C)-c .. / po / cmc.f
> coord3.o: ../poten/coord3.f
> $ (F77C)-c ../poten/coord3.f
"Makefile" 148L, 4745C


fiz correções nele e dimiui os erros ...
F77C   =  /usr/bin/g77 -O -fno-automatic
VERSION = 9.7
VPATH  =   .. / poten
That Can Be  # executables built from this makefile

DUMSEXE = .. / exe / polyrate $ (VERSION). dum.serial.exe

CH5SEXE = .. / exe / polyrate $ (VERSION). Ch5.serial.exe
CLHBRSEXE = .. / exe / polyrate $ (VERSION). Clhbr.serial.exe
CH4OSEXE = .. / exe / polyrate $ (VERSION). Ch4o.serial.exe
CMCSEXE = .. / exe / polyrate $ (VERSION). Cmc.serial.exe
CWMCSEXE = .. / exe / polyrate $ (VERSION). Cwmc.serial.exe
NH3SEXE = .. / exe / polyrate $ (VERSION). Nh3.serial.exe
H2NISEXE = .. / exe / polyrate $ (VERSION). H2ni.serial.exe
H3SEXE = .. / exe / polyrate $ (VERSION). H3.serial.exe
HNISEXE = .. / exe / polyrate $ (VERSION). Hni.serial.exe
OH3SEXE = .. / exe / polyrate $ (VERSION). Oh3.serial.exe
OHCLSEXE = .. / exe / polyrate $ (VERSION). Ohcl.serial.exe
HO2SEXE = .. / exe / polyrate $ (VERSION). Ho2.serial.exe
# User May add new executables here
# a linha acrescentada esta no lugar certo agora
############################################################
export F77C VERSION VPATH DUMSEXE CH5SEXE CLHBRSEXE CH40SEXE
CMCSEXE NH3SEXE H2NISEXE H3SEXE HNISEXE OH3SEXE OHCLSEXE HO2SEXE
#############################################################
. F.o:
     $ (F77C)-c $ <
. C.o:
cc-c $ <
OBJ = dattim.o dateclock.o givtst.o intbsv3.o poly40.o \
polyrr.o headr.o interface.o polysz.o ef.o \
hooks.o ivtstm.o polyag.o rtpjac.o \
energetics.o intbsv1.o acespoly.o main.o \
polyhl.o fromblas.o intbsv2.o poly31.o polymq
$ (F77C)-c ../poten/ch4o.f
ch5.o: ../poten/ch5.f
$ (F77C)-c ../poten/ch5.f
chain3.o: ../poten/chain3.f
$ (F77C)-c ../poten/chain3.f
chain4.o: ../poten/chain4.f
$ (F77C)-c ../poten/chain4.f
clhbr.o: .. / po / clhbr.f
$ (F77C)-c .. / po / clhbr.f
cmc.o: .. / po / cmc.f
$ (F77C)-c .. / po / cmc.f
e tenho isso de erros ..
./linkar: line 1: F77C: command not found
./linkar: line 2: VERSION: command not found
./linkar: line 3: VPATH: command not found
./linkar: line 4: That: command not found
./linkar: line 6: syntax error near unexpected token `('
./linkar: line 6: `DUMSEXE = .. / exe / polyrate $ (VERSION). dum.serial.exe'
preciso de alguem que consiga ver esse erro pois eu não to conseguindo . obrigado .






  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts