Skip to content

Commit

Permalink
templates/module.mk.in: include lattice.mk also when cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
jhyeon committed Nov 2, 2013
1 parent 14fc386 commit 3278176
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/module.mk.in
Expand Up @@ -24,15 +24,15 @@ EXE@CLASSNAME@_SRC += \
endif

ifneq ($(findstring lattice,$(ALGORITHMS)),)
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(MAKECMDGOALS),distclean)
ifneq ($(MAKECMDGOALS),showbuild)
ifneq ($(MAKECMDGOALS),tag)
ifneq ($(MAKECMDGOALS),release)
ifneq ($(MAKECMDGOALS),doc)
-include $(DIR)/lattice.mk
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(MAKECMDGOALS),distclean)
ifeq ($(findstring clean-,$(MAKECMDGOALS)),)
ifeq ($(findstring distclean-,$(MAKECMDGOALS)),)
-include $(DIR)/lattice.mk
$(DIR)/lattice.mk: run-metacode-$(MODNAME)
endif
endif
Expand Down

0 comments on commit 3278176

Please sign in to comment.