aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-12-17 23:07:01 -0800
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-12-17 23:07:01 -0800
commitfb758a32e1f28bbcd91616df589f17a7335e41ba (patch)
treefb1ae846dfa9642e106f400f6f66094366e4848b
parentd4c55557c3e6de29b9676d9ea0e8eda0970cebfc (diff)
downloadbun-fb758a32e1f28bbcd91616df589f17a7335e41ba.tar.gz
bun-fb758a32e1f28bbcd91616df589f17a7335e41ba.tar.zst
bun-fb758a32e1f28bbcd91616df589f17a7335e41ba.zip
Update Makefile
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b796b2916..3322f1e46 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: