summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorpranomostro <pranomestro@gmail.com>2016-11-02 09:56:37 +0100
committerz3bra <contactatz3bradotorg>2016-11-08 16:47:51 +0100
commit1450809b32bbf4c15bd084c6b3b003698fb7e107 (patch)
tree5ea7c2c7dc93df236cbb66d22983bf4982f6566f /Makefile
parenta1d2b63e6af32685f5828c302a0d3edeeb48090f (diff)
Add generating nodes from the available nodes.tox.chat API.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d39e26c..5025acd 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ include config.mk
TOXSRC = $(shell find toxcore/toxcore toxcore/toxav toxcore/toxencryptsave -name '*.c')
-HDR = arg.h config.h readpassphrase.h util.h
+HDR = arg.h config.h nodes.h readpassphrase.h util.h
LIB = \
eprintf.o \
readpassphrase.o \
@@ -32,6 +32,10 @@ config.h:
@echo creating $@ from config.def.h
@cp config.def.h $@
+nodes.h:
+ @echo creating $@ with nodegen
+ @./nodegen >$@
+
.o:
@echo LD $@
@$(LD) -o $@ $< util.a $(LDFLAGS)