mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +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
@ -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…
Reference in New Issue
Block a user