summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)