From fb758a32e1f28bbcd91616df589f17a7335e41ba Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Fri, 17 Dec 2021 23:07:01 -0800 Subject: [PATCH] Update Makefile --- Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Makefile b/Makefile index b796b29164..3322f1e468 100644 --- a/Makefile +++ b/Makefile @@ -255,6 +255,25 @@ tgz-debug: src/deps/picohttpparser.o rm -rf $(DEBUG_PACKAGE_DIR)/tgz.o +hop: + $(ZIG) build hop-obj -Drelease-fast + $(CXX) $(PACKAGE_DIR)/hop.o -g -o ./misctools/hop $(DEFAULT_LINKER_FLAGS) -lc \ + src/deps/zlib/libz.a \ + src/deps/libarchive.a \ + src/deps/libssl.a \ + src/deps/libcrypto.boring.a \ + src/deps/picohttpparser.o -O3 + rm -rf $(PACKAGE_DIR)/hop.o + +hop-debug: + $(ZIG) build hop-obj + $(CXX) $(DEBUG_PACKAGE_DIR)/hop.o -g -o $(DEBUG_PACKAGE_DIR)/hop $(DEFAULT_LINKER_FLAGS) -lc \ + src/deps/zlib/libz.a \ + src/deps/libarchive.a \ + src/deps/libssl.a \ + src/deps/libcrypto.boring.a \ + src/deps/picohttpparser.o + vendor: require init-submodules vendor-without-check zlib: