diff options
author | Maria Matejka <mq@ucw.cz> | 2023-04-14 11:37:23 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2023-04-14 11:37:23 +0200 |
commit | eb978f3a8357e53fcfeede1caf355e80d782ca6a (patch) | |
tree | 511b3f1701c7f316fd472d37a3e392156aa5c3f0 /nest/Makefile | |
parent | a1fcd1c57a06baa99c38af4263f4845c9dba466e (diff) | |
parent | 0851fcde651301a886fefc574a4f739bf68119b9 (diff) |
Merge commit '0851fcde' into thread-next-iface
Diffstat (limited to 'nest/Makefile')
-rw-r--r-- | nest/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nest/Makefile b/nest/Makefile index 5b27da0c..1a71c2fb 100644 --- a/nest/Makefile +++ b/nest/Makefile @@ -3,7 +3,7 @@ obj := $(src-o-files) $(all-daemon) $(cf-local) -$(objdir)/nest/proto-build.c: $(lastword $(MAKEFILE_LIST)) +$(o)proto-build.c: Makefile $(lastword $(MAKEFILE_LIST)) $(objdir)/.dir-stamp $(E)echo GEN $@ $(Q)echo "#include \"lib/birdlib.h\"" > $@ $(Q)$(patsubst %,echo 'void %_build(void);' >> $@;,$(PROTO_BUILD)) @@ -11,6 +11,8 @@ $(objdir)/nest/proto-build.c: $(lastword $(MAKEFILE_LIST)) $(Q)$(patsubst %,echo ' %_build();'>>$@;,$(PROTO_BUILD)) $(Q)echo "}" >> $@ +prepare: $(o)proto-build.c + tests_src := tests_targets := $(tests_targets) $(tests-target-files) tests_objs := $(tests_objs) $(src-o-files) |