mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-04 23:07:46 -04:00
build, change executable name to lowercase
This commit is contained in:
parent
8341673054
commit
dab0c36316
4 changed files with 17 additions and 12 deletions
18
Makefile
18
Makefile
|
@ -1,5 +1,5 @@
|
|||
$(LD) ?= $(CC)
|
||||
TARGET ?= PicoDrive
|
||||
TARGET ?= picodrive
|
||||
ASAN ?= 0
|
||||
DEBUG ?= 0
|
||||
CFLAGS += -I$(PWD)
|
||||
|
@ -111,7 +111,7 @@ endif
|
|||
|
||||
# TODO this should somehow go to the platform directory?
|
||||
ifeq "$(PLATFORM)" "generic"
|
||||
$(TARGET).zip: $(TARGET)
|
||||
PicoDrive.zip: $(TARGET)
|
||||
$(RM) -rf .od_data
|
||||
mkdir .od_data
|
||||
cp -r platform/linux/skin .od_data
|
||||
|
@ -119,7 +119,7 @@ $(TARGET).zip: $(TARGET)
|
|||
cp $< .od_data/PicoDrive
|
||||
$(STRIP) .od_data/PicoDrive
|
||||
cd .od_data && zip -9 -r ../$@ *
|
||||
all: $(TARGET).zip
|
||||
all: PicoDrive.zip
|
||||
endif
|
||||
|
||||
ifeq "$(PLATFORM)" "opendingux"
|
||||
|
@ -134,22 +134,22 @@ ifeq "$(PLATFORM)" "opendingux"
|
|||
|
||||
ifneq (,$(filter %__DINGUX__, $(CFLAGS)))
|
||||
# "legacy" dingux without opk support
|
||||
$(TARGET)-dge.zip: .od_data
|
||||
PicoDrive-dge.zip: .od_data
|
||||
rm -f .od_data/default.*.desktop
|
||||
cd .od_data && zip -9 -r ../$@ *
|
||||
all: $(TARGET)-dge.zip
|
||||
all: PicoDrive-dge.zip
|
||||
CFLAGS += -DSDL_SURFACE_SW # some legacy dinguces had bugs in HWSURFACE
|
||||
else
|
||||
ifneq (,$(filter %__MIYOO__, $(CFLAGS)))
|
||||
$(TARGET)-miyoo.zip: .od_data
|
||||
PicoDrive-miyoo.zip: .od_data
|
||||
rm -f .od_data/default.*.desktop .od_data/PicoDrive.dge
|
||||
cd .od_data && zip -9 -r ../$@ *
|
||||
all: $(TARGET)-miyoo.zip
|
||||
all: PicoDrive-miyoo.zip
|
||||
else
|
||||
$(TARGET).opk: .od_data
|
||||
PicoDrive.opk: .od_data
|
||||
rm -f .od_data/PicoDrive.dge
|
||||
mksquashfs .od_data $@ -all-root -noappend -no-exports -no-xattrs
|
||||
all: $(TARGET).opk
|
||||
all: PicoDrive.opk
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ readme.txt: ../../tools/textfilter ../base_readme.txt ../../ChangeLog
|
|||
|
||||
CODE940 = code940/pico940_v3.bin
|
||||
|
||||
PicoDrive: ../../PicoDrive
|
||||
PicoDrive: ../../picodrive
|
||||
$(STRIP) $^ -o $@
|
||||
|
||||
rel: PicoDrive PicoDrive.gpe $(CODE940) readme.txt ../game_def.cfg \
|
||||
|
|
|
@ -8,6 +8,8 @@ ifneq "$(BUILD)" ""
|
|||
VER := $(VER)_$(BUILD)
|
||||
endif
|
||||
|
||||
include ../../config.mak
|
||||
|
||||
PND_MAKE ?= pnd_make
|
||||
|
||||
all: rel
|
||||
|
@ -21,7 +23,10 @@ all: rel
|
|||
/tmp/PicoDrive.pxml: PicoDrive.pxml.template FORCE
|
||||
./make_pxml.sh $< $@
|
||||
|
||||
rel: ../../PicoDrive PicoDrive.sh picorestore \
|
||||
PicoDrive: ../../picodrive
|
||||
$(STRIP) $^ -o $@
|
||||
|
||||
rel: PicoDrive PicoDrive.sh picorestore \
|
||||
PicoDrive.png PicoDrive_p.png \
|
||||
../../pico/carthw.cfg skin \
|
||||
../../README.md /tmp/PicoDrive.pxml
|
||||
|
|
|
@ -14,7 +14,7 @@ include ../../config.mak
|
|||
readme.txt: ../../tools/textfilter ../base_readme.txt ../../ChangeLog
|
||||
../../tools/textfilter ../base_readme.txt $@ PS2
|
||||
|
||||
PicoDrive: ../../PicoDrive
|
||||
PicoDrive: ../../picodrive
|
||||
$(STRIP) $^ -o $@
|
||||
|
||||
PicoDrive.elf: PicoDrive
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue