Skip to content

"make clean" removes include directory #8444

@therealprof

Description

@therealprof

Recently calling make clean in a build directory of an example (here a subdirectory of the example code) removes the whole include directory:

# git status
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

	deleted:    ../../../../include/adc.h
	deleted:    ../../../../include/aio_comparator.h
	deleted:    ../../../../include/arch/arc/arch.h
	deleted:    ../../../../include/arch/arc/v2/addr_types.h
	deleted:    ../../../../include/arch/arc/v2/arcv2_irq_unit.h
	deleted:    ../../../../include/arch/arc/v2/asm_inline.h
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions