AnsweredAssumed Answered

CodeWarrior 10.6 creating a Release folder within Debug folder and vice versa

Question asked by Frank Baird on Jan 7, 2016
Latest reply on Apr 12, 2016 by Frank Baird

Until recently my project used only the Debug target. I decided to get the Release target working as well. Before my project contained a Debug folder and a Release folder, but now my Debug folder also contains a Release folder, and my Release folder contains a Debug folder.

 

cw folder confusion.png

 

I am certain the folders Debug/Release and Release/Debug were not there before. I now have 3 new lines Debug/sources.mk (the last 3 lines):

 

# Every subdirectory with source files must be described here

SUBDIRS := \

Sources \

Sources/_Screens \

Sources/_Components \

Release/Sources \

Release/Sources/_Screens \

Release/Sources/_Components \

 

and in Debug/makefile have these 3 new lines:

 

-include Release/Sources/subdir.mk

-include Release/Sources/_Screens/subdir.mk

-include Release/Sources/_Components/subdir.mk

 

Similarly Release/sources.mk contains

 

# Every subdirectory with source files must be described here

SUBDIRS := \

Sources \

Sources/_Screens \

Sources/_Components \

Debug/Sources \

Debug/Sources/_Screens \

Debug/Sources/_Components \

 

and Release/makefile contains

 

-include Debug/Sources/subdir.mk

-include Debug/Sources/_Screens/subdir.mk

-include Debug/Sources/_Components/subdir.mk

 

It turns out that these "extra" directories contain nothing. They do have folders in them, but every folder contains only a subdir.mk file in them. If they were eliminated entirely, it would not cause any compilation problems.

 

cw folder confusion2.png

Please tell me how to get rid of them.

Outcomes