Skip to content
Snippets Groups Projects
Commit 95333cfb authored by Emmanuel Lanti's avatar Emmanuel Lanti
Browse files

Change tabulation in Makefile

parent c8706f3c
No related branches found
No related tags found
No related merge requests found
FC=gfortran # set Fortran compiler
EXEC=my_exec # set executable name
FFLAGS= # Fortran flags
FC=gfortran # Fortran compiler
EXEC=my_exec # Executable name
FFLAGS= # Fortran compilation flags
.PHONY: clean, mrproper
all: $(EXEC)
my_exec: saxpy.o main.o
$(FC) -o $(EXEC) saxpy.o main.o
$(FC) -o $(EXEC) saxpy.o main.o
saxpy.o: saxpy.F90
$(FC) -c saxpy.F90
$(FC) -c saxpy.F90
main.o: main.F90
$(FC) -c main.F90
$(FC) -c main.F90
clean:
rm -f *.o *~ *.mod
mrproper: clean
rm -f $(EXEC)
rm -f $(EXEC)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment