Commit 9005dbf4 authored by Roy Fabrice's avatar Roy Fabrice
Browse files

Small correction in Makefile

parent 735d4b36
......@@ -34,6 +34,7 @@ SRC = modhdf5.f90 \
OBJS = $(SRC:%.f90=%.o)
# variable containing if git is used or not
ifeq ($(wildcard ../../.git/HEAD ../../.git/index),)
OBJ_GIT =
......@@ -56,12 +57,14 @@ endif
FC=$(FC), FCFLAGS=$(FCFLAGS)
$(FC) -c $(FCFLAGS) $<
release: $(EXE)
all: release
debug: FCFLAGS = $(DEBUGFLAGS)
debug: $(EXE)
$(EXE) : gitversion $(MODS) $(OBJS)
$(EXE) : gitversion $(OBJS)
@echo "--------------------------------"
@echo building $(EXE) with parameters \
FC=$(FC), LDFLAGS=$(LDFLAGS)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment