mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-06 14:44:22 +01:00
wire-gen: move in-house wire delcarations to new format
tidying things up!
This commit is contained in:
committed by
Rusty Russell
parent
236d26308f
commit
32eaae0cb9
@@ -74,10 +74,10 @@ ONCHAIND_COMMON_OBJS := \
|
||||
hsmd/gen_hsm_wire.o
|
||||
|
||||
onchaind/gen_onchain_wire.h: $(WIRE_GEN) onchaind/onchain_wire.csv
|
||||
$(WIRE_GEN) --header $@ onchain_wire_type < onchaind/onchain_wire.csv > $@
|
||||
$(WIRE_GEN) --page header $@ onchain_wire_type < onchaind/onchain_wire.csv > $@
|
||||
|
||||
onchaind/gen_onchain_wire.c: $(WIRE_GEN) onchaind/onchain_wire.csv
|
||||
$(WIRE_GEN) ${@:.c=.h} onchain_wire_type < onchaind/onchain_wire.csv > $@
|
||||
$(WIRE_GEN) --page impl ${@:.c=.h} onchain_wire_type < onchaind/onchain_wire.csv > $@
|
||||
|
||||
LIGHTNINGD_ONCHAIN_OBJS := $(LIGHTNINGD_ONCHAIN_SRC:.c=.o) $(LIGHTNINGD_ONCHAIN_GEN_SRC:.c=.o)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user