mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
Rename openchannel to open-channel.
Since I'm about to write create-anchor, which definitely needs a separator. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
1c4fdce514
commit
81ac81e699
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,3 @@
|
||||
*~
|
||||
*.o
|
||||
openchannel
|
||||
open-channel
|
||||
|
12
Makefile
12
Makefile
@ -3,12 +3,12 @@
|
||||
# Needs to have oneof support: Ubuntu vivid's is too old :(
|
||||
PROTOCC:=protoc-c
|
||||
|
||||
PROGRAMS := openchannel
|
||||
PROGRAMS := open-channel
|
||||
|
||||
HELPER_OBJS := base58.o lightning.pb-c.o shadouble.o pkt.o
|
||||
CCAN_OBJS := ccan-crypto-sha256.o ccan-crypto-shachain.o ccan-err.o ccan-tal.o ccan-tal-str.o ccan-take.o ccan-list.o ccan-str.o ccan-opt-helpers.o ccan-opt.o ccan-opt-parse.o ccan-opt-usage.o ccan-read_write_all.o ccan-str-hex.o
|
||||
|
||||
OPENCHANNEL_OBJS := openchannel.o $(HELPER_OBJS) $(CCAN_OBJS)
|
||||
OPEN_CHANNEL_OBJS := open-channel.o $(HELPER_OBJS) $(CCAN_OBJS)
|
||||
|
||||
HEADERS := base58.h lightning.pb-c.h pd_channel.h pkt.h shadouble.h
|
||||
|
||||
@ -16,19 +16,19 @@ CCANDIR := ../ccan/
|
||||
CFLAGS := -g -Wall -I $(CCANDIR) #-I $(PROTO_INCLUDE_DIR)
|
||||
LDLIBS := -lcrypto -lprotobuf-c
|
||||
|
||||
default: openchannel
|
||||
default: open-channel
|
||||
|
||||
lightning.pb-c.c lightning.pb-c.h: lightning.proto
|
||||
$(PROTOCC) lightning.proto --c_out=.
|
||||
|
||||
openchannel: $(OPENCHANNEL_OBJS)
|
||||
$(OPENCHANNEL_OBJS): $(HEADERS)
|
||||
open-channel: $(OPEN_CHANNEL_OBJS)
|
||||
$(OPEN_CHANNEL_OBJS): $(HEADERS)
|
||||
|
||||
distclean: clean
|
||||
$(RM) lightning.pb-c.c lightning.pb-c.h
|
||||
|
||||
clean:
|
||||
$(RM) $(OPENCHANNEL_OBJS)
|
||||
$(RM) $(OPEN_CHANNEL_OBJS)
|
||||
|
||||
ccan-tal.o: $(CCANDIR)/ccan/tal/tal.c
|
||||
$(CC) $(CFLAGS) -c -o $@ $<
|
||||
|
Loading…
Reference in New Issue
Block a user