mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 04:49:06 +00:00
* Move uWebSockets and uSockets forks into Bun's repository * Update Makefile * Update settings.json * Update libuwsockets.cpp * Remove backends we won't be using * Update bindings.cpp --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
25 lines
377 B
Makefile
25 lines
377 B
Makefile
# This is the GNU Make shim for Linux and macOS
|
|
|
|
DESTDIR ?=
|
|
prefix ?= /usr/local
|
|
|
|
examples: default
|
|
./build examples
|
|
|
|
clean: default
|
|
./build clean
|
|
|
|
capi: default
|
|
./build capi
|
|
|
|
install:
|
|
mkdir -p "$(DESTDIR)$(prefix)/include/uWebSockets"
|
|
cp -r src/* "$(DESTDIR)$(prefix)/include/uWebSockets"
|
|
|
|
all: default
|
|
./build all
|
|
|
|
default:
|
|
$(MAKE) -C uSockets
|
|
$(CC) build.c -o build
|