From: kub Date: Thu, 16 May 2024 20:32:55 +0000 (+0000) Subject: build, change executable name to lowercase X-Git-Tag: v2.00~59 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dab0c363166f4596a8e3c0a90c1a741cb2d960a7;p=picodrive.git build, change executable name to lowercase --- diff --git a/Makefile b/Makefile index 7b87043e..2566e740 100644 --- a/Makefile +++ b/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 diff --git a/platform/gp2x/Makefile b/platform/gp2x/Makefile index 083ce14f..7756689e 100644 --- a/platform/gp2x/Makefile +++ b/platform/gp2x/Makefile @@ -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 \ diff --git a/platform/pandora/Makefile b/platform/pandora/Makefile index fd362696..0eb65193 100644 --- a/platform/pandora/Makefile +++ b/platform/pandora/Makefile @@ -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 diff --git a/platform/ps2/Makefile b/platform/ps2/Makefile index a0e20095..50672385 100644 --- a/platform/ps2/Makefile +++ b/platform/ps2/Makefile @@ -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