mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-01 09:40:19 +01:00
Makefile: add $(LIGHTNINGD_SRC_NOHDR) to $(ALL_C_SOURCES) for "make clean" to work properly
"make clean" removes all object files listed in $(ALL_OBJS), which is derived from $(ALL_C_SOURCES). Source files in $(LIGHTNINGD_SRC_NOHDR) are missing from $(ALL_C_SOURCES) therefore some object files are not removed by "make clean". This commit fixes this point. Signed-off-by: YOSHIDA Masanori <masanori.yoshida@gmail.com> Changelog-None
This commit is contained in:
parent
6907e85a39
commit
4f12ff0967
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ LIGHTNINGD_OBJS := $(LIGHTNINGD_SRC:.c=.o) $(LIGHTNINGD_SRC_NOHDR:.c=.o)
|
|||
$(LIGHTNINGD_OBJS): $(LIGHTNINGD_HEADERS) $(LIGHTNINGD_CONTROL_HEADERS)
|
||||
|
||||
# Make sure these depend on everything.
|
||||
ALL_C_SOURCES += $(LIGHTNINGD_SRC)
|
||||
ALL_C_SOURCES += $(LIGHTNINGD_SRC) $(LIGHTNINGD_SRC_NOHDR)
|
||||
ALL_C_HEADERS += $(LIGHTNINGD_HEADERS)
|
||||
ALL_PROGRAMS += lightningd/lightningd
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue