aboutsummaryrefslogtreecommitdiff
path: root/projects/cli-test/Makefile
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2016-05-18 11:08:33 +0200
committerPaul Selkirk <paul@psgd.org>2016-05-18 11:08:33 +0200
commit802a6f374f7569598dea55b3992818b65985f8b6 (patch)
treeb863b6b2c5dd35897db86f6bf70b17798ad4323a /projects/cli-test/Makefile
parent9cbdeb0a874e50059bc9846d69b18f11a7b6f84c (diff)
build libcli
Diffstat (limited to 'projects/cli-test/Makefile')
-rw-r--r--projects/cli-test/Makefile6
1 files changed, 0 insertions, 6 deletions
diff --git a/projects/cli-test/Makefile b/projects/cli-test/Makefile
index d0fce70..8fde727 100644
--- a/projects/cli-test/Makefile
+++ b/projects/cli-test/Makefile
@@ -2,8 +2,6 @@ TEST = cli-test
OBJS = crc32.o
-LIBCLI_DIR=/home/ft/work/others/libcli.arm
-
CFLAGS += -I$(LIBCLI_DIR)
LIBS += $(LIBCLI_DIR)/libcli.a
@@ -11,15 +9,11 @@ all: $(TEST:=.elf)
%.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
- $(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