From b7d4cc615c3281263f4f4735a0f7fd21589250bd Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Mon, 24 Jun 2019 20:54:00 +0800 Subject: [PATCH] update mqttd makefile --- mqttd/hal/makefile | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/mqttd/hal/makefile b/mqttd/hal/makefile index a08725c..c1200cf 100644 --- a/mqttd/hal/makefile +++ b/mqttd/hal/makefile @@ -1,11 +1,13 @@ +PWD=$(shell pwd ) LIBNAME=$(shell basename ${PWD} ) all: clean + @rm -f *.o ${CROSS_COMPILE}gcc -c *.c ${CROSS_COMPILE}ar -rcs lib${LIBNAME}.a *.o clean: - @rm -f *.o + @rm -f *.o @rm -f *.a -- Gitblit v1.9.1