Skip to content

Make doesn't detect changes in the header files #275

@nicolaskribas

Description

@nicolaskribas
$ make bootstrap
make: 'bootstrap' is up to date.

$ touch bootstrap.bpf.c

$ make bootstrap
  BPF      .output/bootstrap.bpf.o
  GEN-SKEL .output/bootstrap.skel.h
  CC       .output/bootstrap.o
  BINARY   bootstrap

$ touch bootstrap.c

$ make bootstrap
  CC       .output/bootstrap.o
  BINARY   bootstrap

# working as expected till now

$ touch bootstrap.h

$ make bootstrap
make: 'bootstrap' is up to date.

# change in bootstrap.h doesn't trigger a rebuild

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions