Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sniffer_CC2650STK/makefile.defs
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
24 lines (19 sloc)
817 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#File used to help "Clean Project" in CCS completely clean the kernel files | |
CFG_SRCDIR = ../src | |
ifneq (,$(findstring :,$(WINDIR)$(windir)$(COMSPEC)$(comspec))) | |
# if Windows, use copy to touch file dates | |
TOUCH = copy /b $(subst /,\,$@)+,, $(subst /,\,$@) | |
else | |
TOUCH = touch $@ | |
endif | |
# include Config generated top-level makefile | |
-include $(CFG_SRCDIR)/makefile.libs | |
ifneq (clean,$(MAKECMDGOALS)) | |
# ensure this file is reloaded when .cfg files change but after config runs | |
$(CFG_SRCDIR)/makefile.libs: $(GEN_OPTS) $(CFG_SRCS) | |
-@$(if $(wildcard $@),$(TOUCH),:) | |
endif | |
#add generated makefile to list of files to delete during a clean | |
GEN_MISC_FILES__QUOTED += "$(CFG_SRCDIR)/makefile.libs" | |
#add generated source dir to list of directories to delete during a clean | |
#GEN_MISC_DIRS__QTD += "$(CFG_SRCDIR)" |