Generate CDDA example bin/cue wia makefile

This commit is contained in:
ABelliqueux 2021-07-17 14:52:47 +02:00
parent 1dc00c3661
commit f736fe679d
4 changed files with 26 additions and 6 deletions

View File

@ -37,7 +37,7 @@ hello_vag:
hello_cd:
$(MAKE) -C hello_cd all
hello_cdda:
$(MAKE) -C hello_cdda
$(MAKE) -C hello_cdda all
clean:
$(MAKE) -C hello_2pads clean
@ -59,7 +59,7 @@ clean:
$(MAKE) -C hello_tile clean
$(MAKE) -C hello_vag clean
$(MAKE) -C hello_world clean
$(MAKE) -C hello_cdda clean
$(MAKE) -C hello_cdda clean cleansub
$(MAKE) -C hello_cd cleansub
all:
@ -82,7 +82,7 @@ all:
$(MAKE) -C hello_vag
$(MAKE) -C hello_world
$(MAKE) -C hello_cd all
$(MAKE) -C hello_cdda
$(MAKE) -C hello_cdda all
# declare phony rules
.PHONY: hello_2pads hello_cube hello_cubetex hello_poly_fun hello_gte_opti hello_light hello_multivag hello_pad hello_poly hello_poly_ft hello_poly_gt hello_poly_gt_tw hello_poly_inline hello_sio hello_sprt hello_tile hello_vag hello_world hello_cdda hello_cd\

View File

@ -1,3 +1,10 @@
.PHONY: all cleansub
all:
mkpsxiso -y ./isoconfig.xml
cleansub:
$(MAKE) clean
rm -f hello_cdda.cue hello_cdda.bin
TARGET = hello_cdda
SRCS = hello_cdda.c \

View File

@ -1,6 +1,19 @@
## Creating the disk image
## Compiling
After compiling, you need to generate a disk image with [mkpsxiso](https://github.com/Lameguy64/mkpsxiso):
You need [mkpsxiso](https://github.com/Lameguy64/mkpsxiso) in your $PATH to generate a PSX disk image.
Typing
```bash
make
```
in a terminal will compile and generate the bin/cue files.
Typing
```bash
make cleansub
```
will clean the current directory
## Creating the disk image
```bash
mkpsxiso -y isoconfig.xml

View File

@ -13,7 +13,7 @@
cue_sheet - Optional, file name of the cue sheet for the image file
(required if more than one track is specified).
-->
<iso_project image_name="disk.bin" cue_sheet="disk.cue">
<iso_project image_name="hello_cdda.bin" cue_sheet="hello_cdda.cue">
<!-- <track>
Specifies a track to the ISO project. This example element creates a data