add some stuff
This commit is contained in:
parent
f7d11b4178
commit
3ea16fbbc8
1
code/fortran/.gitignore
vendored
1
code/fortran/.gitignore
vendored
@ -1,6 +1,7 @@
|
|||||||
|
|
||||||
plplotting
|
plplotting
|
||||||
dessiner
|
dessiner
|
||||||
|
printty
|
||||||
|
|
||||||
*.png
|
*.png
|
||||||
*.gif
|
*.gif
|
||||||
|
@ -1,6 +1,14 @@
|
|||||||
|
|
||||||
INCS = -I/usr/include/plplot -I/usr/lib/x86_64-linux-gnu/fortran/modules/plplot
|
INCS = -I/usr/include/plplot -I/usr/lib/x86_64-linux-gnu/fortran/modules/plplot
|
||||||
|
|
||||||
|
# sinple examples
|
||||||
|
|
||||||
|
printty: printty.f90 Makefile
|
||||||
|
gfortran -g $< $(INCS) -o $@
|
||||||
|
|
||||||
|
|
||||||
|
# more complex garbage
|
||||||
|
|
||||||
plplotting: plplotting.f90 Makefile
|
plplotting: plplotting.f90 Makefile
|
||||||
gfortran -g $< $(INCS) -lplplotfortran -o $@
|
gfortran -g $< $(INCS) -lplplotfortran -o $@
|
||||||
|
|
||||||
|
7
code/fortran/printty.f90
Normal file
7
code/fortran/printty.f90
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
! new: Sun Sep 15 05:04:37 UTC 2024
|
||||||
|
program hello
|
||||||
|
implicit none
|
||||||
|
|
||||||
|
print *, "This is the 'printty' program"
|
||||||
|
|
||||||
|
end
|
Loading…
Reference in New Issue
Block a user