summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTazyFoundSoup <gardendistrict0x0@outlook.com>2026-03-26 10:40:46 +1100
committerTazyFoundSoup <gardendistrict0x0@outlook.com>2026-03-26 10:40:46 +1100
commit6b8091beb30e9a1dbd782fd06b4cf50e2a514d2c (patch)
tree7d0f068e4db5730aed8441be40c52b556637e99b
parentc25b49e9922592f09e44d523aaca011388e8927d (diff)
feat(Make): Build bridges on USE_HOSTED=1
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0f487c7..8ed4e3f 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,11 @@ RELEASE_FLAGS = -O2
SANFLAGS = -fsanitize=address,undefined -g -O1
SRC = $(shell find src -name "*.c")
+
+ifeq ($(USE_HOSTED),1)
+SRC += $(wildcard bridges/*.c)
+endif
+
OBJ = $(patsubst src/%.c,$(OUTDIR)/src/%.o,$(SRC))
all: $(OUTDIR)/$(LIB)