jasonlarkin / p3dfft

Automatically exported from code.google.com/p/p3dfft
GNU General Public License v3.0
0 stars 0 forks source link

Add targets for compiling Fortran or C examples separately #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Under "Building the examples suite" in the INSTALL.txt, #4 states that "It 
is also possible to compile either Fortran or C separately ('make FORTRAN' 
or 'make C'). This functionality does not exist and needs to be added.

Simply add:

> .PHONY: C FORTRAN clean
p3dfft.2.3.2/sample/makefile at line 10 and
> C:
>       cd C && make -f makefile.loc
>
> FORTRAN:
>       cd FORTRAN && make -f makefile.loc
in p3dfft.2.3.2/sample/makefile at line 16.
For correct 'make clean' we also have to replace
'/bin/rm driver*.o' by '-/bin/rm driver*.o' in
p3dfft.2.3.2/sample/C/makefile.loc and
p3dfft.2.3.2/sample/FORTRAN/makefile.loc

Original issue reported on code.google.com by masta.p...@gmail.com on 27 Feb 2010 at 8:49

GoogleCodeExporter commented 9 years ago

Original comment by masta.p...@gmail.com on 27 Feb 2010 at 9:11

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r8.

Original comment by dan.djc...@gmail.com on 2 Mar 2010 at 7:20