libbpf / libbpf-bootstrap

Scaffolding for BPF application development with libbpf and BPF CO-RE
BSD 3-Clause "New" or "Revised" License
1.1k stars 300 forks source link

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

Open nicolaskribas opened 5 months ago

nicolaskribas commented 5 months ago
$ 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