Copy the license to the SDL build directory

This commit is contained in:
Lior Halphon 2016-04-01 23:29:03 +03:00
parent abfebf0eb2
commit 1538ad451c

View File

@ -30,7 +30,7 @@ $(error Invalid value for CONF: $(CONF). Use "debug" or "release")
endif endif
cocoa: $(BIN)/Sameboy.app 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 bootroms: $(BIN)/BootROMs/cgb_boot.bin $(BIN)/BootROMs/dmg_boot.bin
CORE_SOURCES := $(shell echo Core/*.c) CORE_SOURCES := $(shell echo Core/*.c)
@ -100,6 +100,9 @@ $(BIN)/sdl/%.bin: $(BIN)/BootROMs/%.bin
-@mkdir -p $(dir $@) -@mkdir -p $(dir $@)
cp -f $^ $@ cp -f $^ $@
$(BIN)/sdl/LICENSE: LICENSE
cp -f $^ $@
clean: clean:
rm -rf build rm -rf build