Skip to content

Commit

Permalink
Redundant mkdir step in makefile #73
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertGawron committed Jul 13, 2019
1 parent ae571ba commit 84ac8c8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions software/Firmware/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ $(BUILD_DIR)/ApplicationBuilder.rel: $(SRCS)/ApplicationBuilder.c $(BUILD_DIR)/V





$(IHX): $(SRCS)/$(TARGET).c \
$(BUILD_DIR)/ApplicationBuilder.rel \
$(BUILD_DIR)/stm8s_gpio.rel \
Expand All @@ -104,7 +102,6 @@ $(IHX): $(SRCS)/$(TARGET).c \
$(BUILD_DIR)/stm8s_tim1.rel \
$(BUILD_DIR)/stm8s_it.rel \
$(BUILD_DIR)/VoltageSensorPeakValue.rel
mkdir -p $(BUILD_DIR)
$(CC) $(CFLAGS) $(LDFLAGS) -o $(BUILD_DIR)/ $< \
$(BUILD_DIR)/stm8s_gpio.rel \
$(BUILD_DIR)/stm8s_it.rel \
Expand All @@ -129,5 +126,5 @@ clean:
rm -rf $(BUILD_DIR)/*

flash: $(IHX)
/opt/stm8flash -c stlink -p stm8s003f3 -w $<
stm8flash -c stlink -p stm8s003f3 -w $<

0 comments on commit 84ac8c8

Please sign in to comment.