Skip to content
Snippets Groups Projects
Commit 0c7cd800 authored by Yaser Afshar's avatar Yaser Afshar
Browse files

Makefile.in, correction to stop compilation during make clean

parent 884029d8
No related branches found
No related tags found
No related merge requests found
......@@ -94,6 +94,7 @@ $(TARGET): $(OBJECTS)
# Dont delete the given intermediate files
.SECONDARY: #$(DEPENDENCIES)
ifneq ($(MAKECMDGOALS),clean)
# Implicit rules
CPPCMD = $(CPP) $(CPPFLAGS) $(CPPINCLS) -traditional-cpp -P $< $@
$(OBJ_DIR)/%.f : $(SRC_DIR)/%.f
......@@ -105,6 +106,7 @@ DEPCMD = $(DEPS) --ppm $< $@
$(OBJ_DIR)/%.d : $(SRC_DIR)/%.f $(OBJ_DIR)/%.f
@printf " DEP %-42s" $<; \
$(ENV) $(RUN) "$(DEPCMD)" $(LOG) "Dependency Error"
endif
COMPILECMD = $(FC) $(INCLS) $(LDFLAGS) $(FCFLAGS) $(LIBS) $(DEBUG) -Llib -c -o $@ $<
$(OBJ_DIR)/%.o : $(OBJ_DIR)/%.f
......
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