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.

CCS/CODECOMPOSER: Auto Generated Make files are not building my projects

Part Number: CODECOMPOSER
Other Parts Discussed in Thread: CC3220S

Tool/software: Code Composer Studio

Hello,

I am trying to build using the latest 8.3 CCS version, and am running into a unusual error.

gmake: *** No rule to make target 'CC3220S_LAUNCHXL.obj', needed by 'all'.
gmake: *** No rule to make target 'main_tirtos.obj', needed by 'all'.
gmake: *** No rule to make target 'platform.obj', needed by 'all'.
gmake: *** No rule to make target 'power_measure.obj', needed by 'all'.
gmake: *** No rule to make target 'ti_drivers_net_wifi_Config.obj', needed by 'all'.
gmake: *** No rule to make target 'uart_term.obj', needed by 'all'.
gmake: Target 'all' not remade because of errors.

I tracked down this error to following problem. in my subdir_rules.mk, I have rule that i assume is supposed to apply to all objects in my project, but for some reason does not.

# Each subdirectory must supply rules for building sources it contributes
%.obj: ../%.c $(GEN_OPTS) | $(GEN_FILES)
	@echo 'Building file: "$<"'
	@echo 'Invoking: ARM Compiler'
	"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=vfplib -me --include_path="C:/Users/a0227179/Documents/A - SimpleLink/Software - CCS Workspaces/Gen3_Adaptivity/power_measurement_CC3235S_LAUNCHXL_tirtos_ccs" --include_path="C:/ti/simplelink_cc32xx_sdk_2_40_00_00_eng/source/ti/posix/ccs" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include" --define=CC32XX -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="$(basename $(<F)).d_raw" $(GEN_OPTS__FLAG) "$<"
	@echo 'Finished building: "$<"'
	@echo ' '

If i manually add the object names and create the rules, i can get the project to build. Looking at older workspaces using older versions of CCS, i see this is how it used to be done.

Is there something wrong here that i need to change to make the automated make file be able to build all my objects?

Thanks,

Vince