From 1538ad451ca61b50b82cfbdca6e2e959186d41dd Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Fri, 1 Apr 2016 23:29:03 +0300 Subject: [PATCH] Copy the license to the SDL build directory --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8c9d3526..1788b30a 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ $(error Invalid value for CONF: $(CONF). Use "debug" or "release") endif cocoa: $(BIN)/Sameboy.app -sdl: $(BIN)/sdl/sameboy $(BIN)/sdl/dmg_boot.bin $(BIN)/sdl/cgb_boot.bin +sdl: $(BIN)/sdl/sameboy $(BIN)/sdl/dmg_boot.bin $(BIN)/sdl/cgb_boot.bin $(BIN)/sdl/LICENSE bootroms: $(BIN)/BootROMs/cgb_boot.bin $(BIN)/BootROMs/dmg_boot.bin CORE_SOURCES := $(shell echo Core/*.c) @@ -100,6 +100,9 @@ $(BIN)/sdl/%.bin: $(BIN)/BootROMs/%.bin -@mkdir -p $(dir $@) cp -f $^ $@ +$(BIN)/sdl/LICENSE: LICENSE + cp -f $^ $@ + clean: rm -rf build \ No newline at end of file