Skip to content

Commit

Permalink
Update makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownShadow200 committed Mar 30, 2024
1 parent 2c05ade commit 2978b37
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_ds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
# otherwise notify_failure doesn't work
- name: Install curl when necessary
if: ${{ always() && steps.compile.outcome == 'failure' }}
run: apt install curl
run: apt-get install -y curl

- uses: ./.github/actions/notify_failure
if: ${{ always() && steps.compile.outcome == 'failure' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_ps3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# otherwise notify_failure doesn't work
- name: Install curl when necessary
if: ${{ always() && steps.compile.outcome == 'failure' }}
run: apt install curl
run: apt-get install -y curl
- uses: ./.github/actions/notify_failure
if: ${{ always() && steps.compile.outcome == 'failure' }}
with:
Expand Down
Binary file added misc/ps3/ICON0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 9 additions & 4 deletions misc/ps3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
ifeq ($(strip $(PS3DEV)),)
$(error "Please set PS3DEV in your environment. export PS3DEV=<path>")
endif
ifeq ($(strip $(PSL1GHT)),)
$(error "Please set PSL1GHT in your environment. export PSL1GHT=<path>")
endif

include $(PS3DEV)/ppu_rules

Expand All @@ -17,21 +20,22 @@ include $(PS3DEV)/ppu_rules
#---------------------------------------------------------------------------------
TARGET := ClassiCube-PS3
BUILD := build-ps3
SOURCES := src
INCLUDES :=
SOURCES := src third_party/bearssl/src
INCLUDES := third_party/bearssl/inc
SHADERS := misc/ps3

TITLE := ClassiCube
APPID := CUBE00200
CONTENTID := UP0001-$(APPID)_00-0000000000000000
ICON0 := ../misc/ps3/ICON0.png
#---------------------------------------------------------------------------------
# options for code generation
#---------------------------------------------------------------------------------

CFLAGS = -O2 -DPLAT_PS3 -Wall -mcpu=cell -fno-math-errno $(MACHDEP) $(INCLUDE)
CXXFLAGS = $(CFLAGS)

LDFLAGS = $(MACHDEP) -Wl,-Map,$(notdir $@).map
LDFLAGS = $(MACHDEP) -Wl,-Map,$(notdir $@).map -fno-use-linker-plugin

#---------------------------------------------------------------------------------
# any extra libraries we wish to link with the project
Expand Down Expand Up @@ -115,6 +119,7 @@ DEPENDS := $(OFILES:.o=.d)
#---------------------------------------------------------------------------------
# main targets
#---------------------------------------------------------------------------------
$(OUTPUT).pkg: $(OUTPUT).self
$(OUTPUT).self: $(OUTPUT).elf
$(OUTPUT).elf: $(OFILES)

Expand All @@ -136,4 +141,4 @@ $(OUTPUT).elf: $(OFILES)

#---------------------------------------------------------------------------------
endif
#---------------------------------------------------------------------------------
#---------------------------------------------------------------------------------

0 comments on commit 2978b37

Please sign in to comment.