diff options
author | Paul Selkirk <paul@psgd.org> | 2016-04-14 18:50:38 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2016-04-14 18:50:38 -0400 |
commit | 4a38cf6f44d1c013cbe794093ea6c5b50337431a (patch) | |
tree | 148201449b481794ff839cd15d335f40e0f91c9d /projects/rtos-test/Makefile | |
parent | 79b1ba7104dba52dbfacf11a07305702889f440b (diff) |
import mbed rtos library
Diffstat (limited to 'projects/rtos-test/Makefile')
-rw-r--r-- | projects/rtos-test/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/projects/rtos-test/Makefile b/projects/rtos-test/Makefile new file mode 100644 index 0000000..dd2cab5 --- /dev/null +++ b/projects/rtos-test/Makefile @@ -0,0 +1,18 @@ +TEST = thread-test semaphore-test mutex-test + +all: $(TEST:=.elf) + +%.elf: %.o $(BOARD_OBJS) $(LIBS) + $(CC) $(CFLAGS) $^ -o $@ -T$(LDSCRIPT) -g -Wl,-Map=$*.map + $(OBJCOPY) -O ihex $*.elf $*.hex + $(OBJCOPY) -O binary $*.elf $*.bin + $(OBJDUMP) -St $*.elf >$*.lst + $(SIZE) $*.elf + +clean: + rm -f *.o + rm -f *.elf + rm -f *.hex + rm -f *.bin + rm -f *.map + rm -f *.lst |