38 |
|
#packages containing libraries |
39 |
|
PackageLibs = \ |
40 |
|
utils \ |
41 |
+ |
visitors \ |
42 |
|
math \ |
43 |
|
types \ |
44 |
|
primitives \ |
44 |
– |
visitors \ |
45 |
|
UseTheForce/DarkSide \ |
46 |
|
UseTheForce \ |
47 |
|
brains \ |
48 |
|
io \ |
49 |
< |
integrators \ |
50 |
< |
minimizers \ |
51 |
< |
constraints \ |
52 |
< |
profiling \ |
53 |
< |
restraints \ |
49 |
> |
integrators\ |
50 |
|
|
51 |
|
#packages containing applications |
52 |
|
Applications = \ |
243 |
|
# |
244 |
|
#--------------------------------------------------------------------------- |
245 |
|
Print = @echo |
246 |
< |
Move = mv |
246 |
> |
Move = mv -f |
247 |
|
Copy = cp |
248 |
|
CCompiler = @CC@ |
249 |
|
CppCompiler = @CXX@ |
281 |
|
JniOptions = |
282 |
|
RmiOptions = -d $(TargetDir) -classpath $(ClassPath) \ |
283 |
|
-sourcepath $(SourceDir) |
284 |
< |
COptions = $(FrcDeclare) |
285 |
< |
CParallelOptions = $(FrcDeclare) $(ParallelDeclare) |
286 |
< |
CppOptions = $(FrcDeclare) |
287 |
< |
CppParallelOptions = $(FrcDeclare) $(ParallelDeclare) |
284 |
> |
COptions = $(FrcDeclare) @CFLAGS@ |
285 |
> |
CParallelOptions = $(FrcDeclare) $(ParallelDeclare) @CFLAGS@ |
286 |
> |
CppOptions = $(FrcDeclare) @CXXFLAGS@ |
287 |
> |
CppParallelOptions = $(FrcDeclare) $(ParallelDeclare) @CXXFLAGS@ |
288 |
|
FortranOptions = |
289 |
|
F90Options = @PREPFLAG@ @F90FLAGS@ @MODDIRFLAG@$(SourceDir) @MODDIRFLAG@$(TargetDir) |
290 |
|
F90ParallelOptions = @PREPFLAG@ @F90FLAGS@ @MODDIRFLAG@$(SourceDir) @MODDIRFLAG@$(ParallelTargetDir) @PREPDEFFLAG@$(ParallelDeclare) |
417 |
|
# .F90 -> .o |
418 |
|
$(PackageTargetDir)/%.o : %.F90 |
419 |
|
$(F90Compiler) $(F90Options) $(IncludePath) -c $< -o $@ |
420 |
< |
if test -f *.$(ModSuffix); then \ |
421 |
< |
$(Move) *.$(ModSuffix) $(PackageTargetDir);\ |
420 |
> |
if test -n "`ls *.$(ModSuffix)`"; then \ |
421 |
> |
$(Move) `ls *.$(ModSuffix)` $(PackageTargetDir);\ |
422 |
|
fi |
423 |
|
|
424 |
|
$(PackageParallelTargetDir)/%.o : %.F90 |
425 |
|
$(F90Compiler) $(F90ParallelOptions) $(IncludePath) -c $< -o $@ |
426 |
< |
if test -f *.$(ModSuffix); then \ |
427 |
< |
$(Move) *.$(ModSuffix) $(PackageParallelTargetDir);\ |
426 |
> |
if test -n "`ls *.$(ModSuffix)`"; then \ |
427 |
> |
$(Move) "`ls *.$(ModSuffix)`" (PackageParallelTargetDir);\ |
428 |
|
fi |
429 |
|
|
430 |
|
ifeq "$(UseMPI)" "yes" |