From 9b73356f2831800d2328827998e1e5b2a1994b68 Mon Sep 17 00:00:00 2001 From: Fredrik Thulin Date: Sun, 15 May 2016 10:42:23 +0200 Subject: add simple filetransfer poc --- projects/cli-test/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'projects/cli-test/Makefile') 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 -- cgit v1.2.3