Convert the tools dir makefile similarly to the topdir

This commit is contained in:
Hamish Coleman
2023-04-30 18:10:39 -05:00
parent bee517a753
commit bd4418fdec
5 changed files with 12 additions and 8 deletions
+3 -1
View File
@@ -2,6 +2,8 @@
# This is not a standalone makefile, it must be called from the toplevel
# makefile to inherit the correct environment
include config.mak
DEBUG?=-g3
HEADERS=$(wildcard include/*.h)
@@ -16,7 +18,7 @@ LDFLAGS+=-L..
N2N_LIB=../libn2n.a
TOOLS=n2n-benchmark n2n-keygen n2n-route n2n-portfwd
TOOLS+=@ADDITIONAL_TOOLS@
TOOLS+=$(TOOLS_ADDITIONAL)
TESTS=tests-compress tests-elliptic tests-hashing tests-transform
TESTS+=tests-wire
+2
View File
@@ -0,0 +1,2 @@
TOOLS_ADDITIONAL=@TOOLS_ADDITIONAL@