i'm working on a hugh Fortan project which is build through several Makefiels, so the regular approach of the static analysis will not work for me. Also I'm working on a Linux maschine, thats why the VS-solution will not work as well.
So I tried to use the specfile-approach, but inspxe-inject doesn't work. The spec-file is created but the content is empty
inspxe-inject -save-spec spec1.spec -- make
creates a soec file, that looks like:
# DO NOT EDIT THIS FILE!!!
# Source Checker Build Specification Format, version 1.0.0
Then I tried to use a simple example to check, if it is a problem of the code or of inspxe-inject.
integer :: val1, val2
val1 = 1
val2 = 2
print*, "the result is: ", (val1+val2)
with the Makefile:
FC = ifort
#FCFLAGS = -openmp -shared-intel -shared-libgcc
$(FC) $(FCFLAGS) main.f90 -o main
EXECUTABLES = main
rm -f main
does anyone has an idea what i did wrong? - what else can I try to do?