This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/MSP432P401R: no makefile found

Part Number: MSP432P401R
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI C/C++ Compiler

I created a copy of the example TIRTOS release project (tirtos_builds_MSP_EXP432P401R_release_ccs) and populated it with my source files and includes but when I go to build the project I get the following 3 errors:

gmake[1]: *** No targets specified and no makefile found. Stop.
gmake: *** [../src/sysbios/sysbios.aem4f] Error 2
gmake: Target 'all' not remade because of errors.

makefile.defs:

#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)"

makefile.libs:

#
# This file was generated based on the configuration script:
# C:\Users\christian\workspace_v7\tirtos_builds_MSP_EXP432P401R_release_ccs\release.cfg
#
# This makefile may be included in other makefiles that need to build
# the libraries containing the compiled source files generated as
# part of the configuration step.

#
# ======== GEN_SRC_DIR =========
# The path to the sources generated during configuration
#
# This path must be either absolute or relative to the build directory.
#
# The absolute path to the generated source directory (at the time the
# sources were generated) is:
# C:\Users\christian\workspace_v7\tirtos_builds_MSP_EXP432P401R_release_ccs\src
#
GEN_SRC_DIR ?= ../src

ifeq (,$(wildcard $(GEN_SRC_DIR)))
$(error "ERROR: GEN_SRC_DIR must be set to the directory containing the generated sources")
endif

#
# ======== .force ========
# The .force goal is used to force the build of any goal that names it as
# a prerequisite
#
.PHONY: .force

#
# ======== library macros ========
#
sysbios_SRC = $(GEN_SRC_DIR)/sysbios
sysbios_LIB = $(GEN_SRC_DIR)/sysbios/sysbios.aem4f

#
# ======== dependencies ========
#
all: $(sysbios_LIB)
clean: .sysbios_clean


# ======== convenient build goals ========
.PHONY: sysbios
sysbios: $(GEN_SRC_DIR)/sysbios/sysbios.aem4f

# CDT managed make executables depend on $(OBJS)
OBJS += $(sysbios_LIB)

#
# ======== rules ========
#
$(sysbios_LIB): .force
@echo making $@ ...
@$(MAKE) -C $(sysbios_SRC)

.sysbios_clean:
@echo cleaning $(sysbios_SRC) ...
-@$(MAKE) --no-print-directory -C $(sysbios_SRC) clean