From 2fc8b382ef7b638a0d1e5b6afb3f080cc82666c7 Mon Sep 17 00:00:00 2001 From: matt Date: Tue, 28 Apr 2020 13:32:47 -0700 Subject: [PATCH] clean up makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 4200fd8..4968eef 100644 --- a/Makefile +++ b/Makefile @@ -93,7 +93,7 @@ OBJDIRS := $(SRC_FILES:%=./bin/%) build: $(OUT)$(NAME) $(OBJDIRS): - mkdir -p $(shell dirname $@) + @mkdir -p $(shell dirname $@) $(OUT)%.cpp.o: %.cpp $(CXX) $(CXXFLAGS) -c $(INC_DIRS) -o $@ $< $(OUT)%.c.o: %.c @@ -111,11 +111,11 @@ test: $(OUT)test protobufg: - mkdir -p protobuf/gateway + @mkdir -p protobuf/gateway python3 external/nanopb/generator/nanopb_generator.py gateway/message.proto -D protobuf bin: - mkdir bin + @mkdir bin flash: $(OUT)$(NAME) avrdude -v -patmega328p -carduino -P/dev/ttyUSB0 -b115200 -D -Uflash:w:$(OUT)$(NAME).hex:i