Skip to content

Commit

Permalink
automatically create the 'bin' object dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronald committed Dec 14, 2020
1 parent fc33aeb commit 1354090
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions RaspberryPi_JetsonNano/c/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ JETSON_epd:${OBJ_O}
echo $(@)
$(CC) $(CFLAGS) $(OBJ_O) $(JETSON_DEV_C) -o $(TARGET) $(LIB_JETSONI) $(DEBUG)

$(shell mkdir -p $(DIR_BIN))

${DIR_BIN}/%.o:$(DIR_Examples)/%.c
$(CC) $(CFLAGS) -c $< -o $@ -I $(DIR_Config) -I $(DIR_GUI) -I $(DIR_EPD) $(DEBUG)

Expand Down

0 comments on commit 1354090

Please sign in to comment.