aboutsummaryrefslogtreecommitdiff
path: root/projects/rtos-test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'projects/rtos-test/Makefile')
-rw-r--r--projects/rtos-test/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/projects/rtos-test/Makefile b/projects/rtos-test/Makefile
index dd2cab5..9e58a41 100644
--- a/projects/rtos-test/Makefile
+++ b/projects/rtos-test/Makefile
@@ -1,5 +1,9 @@
TEST = thread-test semaphore-test mutex-test
+CFLAGS += -I$(RTOS_DIR)/rtos -I$(RTOS_DIR)/rtx/TARGET_CORTEX_M
+
+LIBS += $(RTOS_DIR)/librtos.a
+
all: $(TEST:=.elf)
%.elf: %.o $(BOARD_OBJS) $(LIBS)