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 Oct 31, 2020
1 parent 7835ac1 commit 129cf9c
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 129cf9c

Please sign in to comment.