collab/mm20

git clone https://git.julia.blue/collab/mm20

Zachary Bouthilletteactually adding ccs projecta795158

firmware
817 B24 linesraw
1#File used to help "Clean Project" in CCS completely clean the kernel files
2CFG_SRCDIR = ../src
3
4ifneq (,$(findstring :,$(WINDIR)$(windir)$(COMSPEC)$(comspec)))
5    # if Windows, use copy to touch file dates
6    TOUCH = copy /b $(subst /,\,$@)+,, $(subst /,\,$@)
7else
8    TOUCH = touch $@
9endif
10
11# include Config generated top-level makefile
12-include $(CFG_SRCDIR)/makefile.libs
13
14ifneq (clean,$(MAKECMDGOALS))
15# ensure this file is reloaded when .cfg files change but after config runs
16$(CFG_SRCDIR)/makefile.libs: $(GEN_OPTS) $(CFG_SRCS)
17	-@$(if $(wildcard $@),$(TOUCH),:)
18endif
19
20#add generated makefile to list of files to delete during a clean
21GEN_MISC_FILES__QUOTED += "$(CFG_SRCDIR)/makefile.libs"
22
23#add generated source dir to list of directories to delete during a clean
24#GEN_MISC_DIRS__QTD += "$(CFG_SRCDIR)"