Skip to content

Commit

Permalink
Makefile: Make cp into one command
Browse files Browse the repository at this point in the history
  • Loading branch information
Margen67 authored and dracc committed May 5, 2021
1 parent 2d3dedd commit 7ecf2c9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ new_all: copy_resources all
include $(NXDK_DIR)/Makefile

copy_resources: $(OUTPUT_DIR)/config.json
@cp $(RESOURCEDIR)/480.png $(OUTPUT_DIR)/480.png
@cp $(RESOURCEDIR)/720.png $(OUTPUT_DIR)/720.png
@cp $(RESOURCEDIR)/vegur.ttf $(OUTPUT_DIR)/vegur.ttf
@cp $(RESOURCEDIR)/480.png $(RESOURCEDIR)/720.png $(RESOURCEDIR)/vegur.ttf $(OUTPUT_DIR)

$(OUTPUT_DIR)/config.json: $(CURDIR)/sampleconfig.json
@mkdir -p $(OUTPUT_DIR)
Expand Down

0 comments on commit 7ecf2c9

Please sign in to comment.