diff options
author | Fredrik Thulin <fredrik@thulin.net> | 2016-05-15 10:42:23 +0200 |
---|---|---|
committer | Fredrik Thulin <fredrik@thulin.net> | 2016-05-15 10:43:03 +0200 |
commit | 9b73356f2831800d2328827998e1e5b2a1994b68 (patch) | |
tree | 194357028a78b8ef92e4914074c2b3c51df5b17b /projects/cli-test/Makefile | |
parent | cc07ee6bfcf4721254145ef388196be82532fd4a (diff) |
add simple filetransfer poc
Diffstat (limited to 'projects/cli-test/Makefile')
-rw-r--r-- | projects/cli-test/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/projects/cli-test/Makefile b/projects/cli-test/Makefile index 1f1f890..d0fce70 100644 --- a/projects/cli-test/Makefile +++ b/projects/cli-test/Makefile @@ -1,11 +1,15 @@ TEST = cli-test +OBJS = crc32.o + +LIBCLI_DIR=/home/ft/work/others/libcli.arm + CFLAGS += -I$(LIBCLI_DIR) LIBS += $(LIBCLI_DIR)/libcli.a all: $(TEST:=.elf) -%.elf: %.o $(BOARD_OBJS) $(LIBS) +%.elf: %.o $(BOARD_OBJS) $(OBJS) $(LIBS) $(CC) $(CFLAGS) $^ -o $@ -T$(LDSCRIPT) -g -Wl,-Map=$*.map $(OBJCOPY) -O ihex $*.elf $*.hex $(OBJCOPY) -O binary $*.elf $*.bin |