mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-05 06:04:21 +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
@@ -80,10 +80,10 @@ OPENINGD_COMMON_OBJS := \
|
||||
$(LIGHTNINGD_OPENING_OBJS): $(LIGHTNINGD_HEADERS)
|
||||
|
||||
openingd/gen_opening_wire.h: $(WIRE_GEN) openingd/opening_wire.csv
|
||||
$(WIRE_GEN) --header $@ opening_wire_type < openingd/opening_wire.csv > $@
|
||||
$(WIRE_GEN) --page header $@ opening_wire_type < openingd/opening_wire.csv > $@
|
||||
|
||||
openingd/gen_opening_wire.c: $(WIRE_GEN) openingd/opening_wire.csv
|
||||
$(WIRE_GEN) ${@:.c=.h} opening_wire_type < openingd/opening_wire.csv > $@
|
||||
$(WIRE_GEN) --page impl ${@:.c=.h} opening_wire_type < openingd/opening_wire.csv > $@
|
||||
|
||||
LIGHTNINGD_OPENING_OBJS := $(LIGHTNINGD_OPENING_SRC:.c=.o) $(LIGHTNINGD_OPENING_GEN_SRC:.c=.o)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user