Skip to content

Commit

Permalink
adding missing clean targets
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Voigt authored and Alexander Voigt committed Sep 1, 2016
1 parent c0747be commit 13d1450
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
11 changes: 8 additions & 3 deletions models/fmssm/module.mk
Expand Up @@ -36,18 +36,23 @@ LIBFMSSM_DEP := \

LIBFMSSM := $(DIR)/lib$(MODNAME)$(MODULE_LIBEXT)

.PHONY: all-$(MODNAME) clean-$(MODNAME) distclean-$(MODNAME)
.PHONY: all-$(MODNAME) clean-$(MODNAME) \
clean-$(MODNAME)-dep clean-$(MODNAME)-lib clean-$(MODNAME)-obj \
distclean-$(MODNAME)

all-$(MODNAME): $(LIBFMSSM)

clean-$(MODNAME)-dep:
-rm -f $(LIBFMSSM_DEP)

clean-$(MODNAME)-lib:
-rm -f $(LIBFMSSM)

clean-$(MODNAME)-obj:
-rm -f $(LIBFMSSM_OBJ)

clean-$(MODNAME): clean-$(MODNAME)-dep clean-$(MODNAME)-obj
-rm -f $(LIBFMSSM)
clean-$(MODNAME): clean-$(MODNAME)-dep clean-$(MODNAME)-lib clean-$(MODNAME)-obj
@true

distclean-$(MODNAME): clean-$(MODNAME)
-rm -f $(LIBFMSSM_GENERATED_SRC)
Expand Down
11 changes: 8 additions & 3 deletions models/fmssmn/module.mk
Expand Up @@ -37,18 +37,23 @@ LIBFMSSMN_DEP := \

LIBFMSSMN := $(DIR)/lib$(MODNAME)$(MODULE_LIBEXT)

.PHONY: all-$(MODNAME) clean-$(MODNAME) distclean-$(MODNAME)
.PHONY: all-$(MODNAME) clean-$(MODNAME) \
clean-$(MODNAME)-dep clean-$(MODNAME)-lib clean-$(MODNAME)-obj \
distclean-$(MODNAME)

all-$(MODNAME): $(LIBFMSSMN)

clean-$(MODNAME)-dep:
-rm -f $(LIBFMSSMN_DEP)

clean-$(MODNAME)-lib:
-rm -f $(LIBFMSSMN)

clean-$(MODNAME)-obj:
-rm -f $(LIBFMSSMN_OBJ)

clean-$(MODNAME): clean-$(MODNAME)-dep clean-$(MODNAME)-obj
-rm -f $(LIBFMSSMN)
clean-$(MODNAME): clean-$(MODNAME)-dep clean-$(MODNAME)-lib clean-$(MODNAME)-obj
@true

distclean-$(MODNAME): clean-$(MODNAME)
-rm -f $(LIBFMSSMN_GENERATED_SRC)
Expand Down

0 comments on commit 13d1450

Please sign in to comment.