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) $@