Skip to content
Snippets Groups Projects
Commit 5b9bd21f authored by Kurt A. O'Hearn's avatar Kurt A. O'Hearn
Browse files

Tests: add missing Makefile to Amber QM/MM.

parent 71ca352a
No related branches found
No related tags found
No related merge requests found
FC=gfortran
FFLAGS=-std=f2003
LDFLAGS=-L../../../../sPuReMD/lib/.libs -lspuremd
PROGRAM=driver
DEPS=$(patsubst %.F03, %.o, $(wildcard *.F03))
ifeq ($(V),1)
ECHO :=
else
ECHO := @
endif
all: $(PROGRAM)
$(PROGRAM): $(DEPS)
$(ECHO)$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
%.o: %.F03
$(ECHO)$(FC) $(FFLAGS) -c -o $@ $<
clean:
$(ECHO)rm -f $(PROGRAM) $(DEPS) *.mod
debug:
@echo "PROGRAM = $(PROGRAM)"
@echo "DEPS = $(DEPS)"
@echo "RC = $(FC)"
@echo "FFLAGS = $(FFLAGS)"
@echo "LDFLAGS = $(LDFLAGS)"
.PHONY: all clean
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