help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple Compiler Options


From: Emanuel Berg
Subject: Re: Multiple Compiler Options
Date: Mon, 09 Aug 2021 22:59:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> OK, the files, in hello.f90:
>
> program hello
>   print *, 'Hello, Erin!'
> end program hello
>
> And in Makefile:
>
> name=hello
> src=${name}.f90
>
> exe=${name}
>
> all: ${src}
>    gfortran $< -o ${exe}
>
> run: ${exe}
>    $<
>
> clean:
>    rm ${exe}

Yes, that works, here are the files:

  https://dataswamp.org/~incal/fortran/hello.f90
  https://dataswamp.org/~incal/fortran/Makefile

Heh, not so difficult this Fortran stuff, ey? :)

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]