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

Remove Makefile dependencies

parent d51c1d4a
No related branches found
No related tags found
No related merge requests found
FC=gfortran # set Fortran compiler FC=gfortran # Fortran compiler
EXEC=my_exec # set executable name EXEC=my_exec # Executable name
FFLAGS= # Fortran flags FFLAGS= # Fortran compilation flags
LDFLAGS= # linking flags LDFLAGS= # Linking flags
.PHONY: clean, mrproper
all: $(EXEC) all: $(EXEC)
my_exec: saxpy.o main.o my_exec: saxpy.o main.o
$(FC) -o $@ $^ $(LDFLAGS) $(FC) -o $@ $^ $(LDFLAGS)
#saxpy.o:
#main.o: saxpy.o
%.o: %.F90 %.o: %.F90
$(FC) -c $< $(FFLAGS) $(FC) -c $< $(FFLAGS)
......
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