diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,6 @@ TARGET = demo.bin -LIBS = -Wl,--start-group -lc FreeRTOS/libFreeRTOS.a arch/libarch.a os/libos.a -Wl,--end-group +LIBDEPS = FreeRTOS/libFreeRTOS.a arch/libarch.a os/libos.a +LIBS = -Wl,--start-group -lc $(LIBDEPS) -Wl,--end-group export ROOTDIR = $(CURDIR) @@ -14,6 +15,10 @@ clean: clean-generic .PHONY: libs FreeRTOS arch os +FreeRTOS/libFreeRTOS.a: libs +arch/libarch.a: libs +os/libos.a: libs + libs: FreeRTOS arch os FreeRTOS: |