I'm trying to compile a quite large project using the Code::Blocks IDE (1.0-finalbeta) on Windows XP (MinGW). Unfortunately some parts of the code are written in good old Fortran77. The C part of the project compiles quite well into a static lib with the C::B build system. But, I've not been able to make C::B compiling the fortran files. The only thing it would need to do is feeding those files to g77. I tried to select "Gnu Makefile" as build method and entered the command to compile each of the fortran files into the custom build dialogs:
g77 -c $FILENAME -o $OBJECT
But something seems to went wrong with the makefile created by C::B because it stops with a message saying
cbm21D.tmp:104: *** missing separator. Stop.
The lines in the cbm21D.tmp file read (the lines giving the dependency for test.o seems to be corrupted somehow?!)
test.o.deps/test.d
@echo Compiling "test.f" (custom command)...
@$(FC) -c test.f -o test.o
Is this a bug or am I doing something wrong? Any ideas?