diff options
| -rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -14,7 +14,9 @@ SANFLAGS = -fsanitize=address,undefined -g -O1 SRC = $(shell find src -name "*.c") ifeq ($(USE_HOSTED),1) -SRC += $(wildcard bridges/*.c) +INCLUDES += -Iinclude/bridges +CFLAGS += -DUSE_HOSTED +SRC += $(wildcard include/bridges/*.c) endif OBJ = $(patsubst %.c,$(OUTDIR)/%.o,$(SRC)) @@ -29,7 +31,6 @@ $(OUTDIR)/%.o: %.c mkdir -p $(dir $@) $(CC) $(CFLAGS) -c $< -o $@ - clean: rm -rf $(OUTDIR) |
