From 8ae6aff907f3f5b1fb0b365e3950ab559f82920e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Narajowski?= Date: Mon, 25 Feb 2019 10:54:55 +0100 Subject: [PATCH] porting/examples: Fix Makefiles --- porting/examples/linux/Makefile | 2 +- porting/examples/linux_blemesh/Makefile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/porting/examples/linux/Makefile b/porting/examples/linux/Makefile index 936094dd7..5538f2fee 100644 --- a/porting/examples/linux/Makefile +++ b/porting/examples/linux/Makefile @@ -72,7 +72,7 @@ all: nimble-linux clean: rm $(OBJ) -f - rm dummy -f + rm nimble-linux -f $(TINYCRYPT_OBJ): CFLAGS+=$(TINYCRYPT_CFLAGS) diff --git a/porting/examples/linux_blemesh/Makefile b/porting/examples/linux_blemesh/Makefile index ef19956fd..8f9a18fc4 100644 --- a/porting/examples/linux_blemesh/Makefile +++ b/porting/examples/linux_blemesh/Makefile @@ -69,11 +69,11 @@ LIBS := -lrt -lpthread -lstdc++ .PHONY: all clean .DEFAULT: all -all: nimble-linux +all: nimble-linux-blemesh clean: rm $(OBJ) -f - rm dummy -f + rm nimble-linux-blemesh -f $(TINYCRYPT_OBJ): CFLAGS+=$(TINYCRYPT_CFLAGS) @@ -83,6 +83,6 @@ $(TINYCRYPT_OBJ): CFLAGS+=$(TINYCRYPT_CFLAGS) %.o: %.cc $(CXX) -c $(INCLUDES) $(CFLAGS) -o $@ $< -nimble-linux: $(OBJ) $(TINYCRYPT_OBJ) +nimble-linux-blemesh: $(OBJ) $(TINYCRYPT_OBJ) $(LD) -o $@ $^ $(LIBS) $(SIZE) $@