summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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)