Massena graphics (uwu), "how I broke the Makefile"

This commit is contained in:
KikooDX 2021-01-08 16:09:41 +01:00
parent 9fb6e7e7ed
commit 19a989d706
4 changed files with 22 additions and 7 deletions

View File

@ -65,7 +65,7 @@ BIN_CG := $(ELF_CG:.elf=.bin)
src := $(wildcard src/*.[csS] \
src/*/*.[csS] \
src/*/*/*.[csS] \
src/*/*/*/*.[csS] \) src/gen_levels.c
src/*/*/*/*.[csS] \)
assets-fx := $(wildcard assets-fx/*/*)
assets-cg := $(wildcard assets-cg/*/*)
@ -76,8 +76,8 @@ obj-cg := $(src:%=build-cg/%.o) \
$(assets-cg:assets-cg/%=build-cg/assets/%.o)
# Additional dependencies
deps-fx := $(ICON_FX) src/gen_levels.c
deps-cg := $(ICON_CG_UNS) $(ICON_CG_SEL) src/gen_levels.c
deps-fx := $(ICON_FX)
deps-cg := $(ICON_CG_UNS) $(ICON_CG_SEL)
# All targets
all :=

View File

@ -4,15 +4,13 @@ $ git clone --recursive https://gitea.planet-casio.com/KikooDX/jtmm2
```
# Build instructions
Using the `fxsdk` and latest version of `gint`. Requires `luajit`.
Using the `fxsdk` and latest version of `gint`. Requires `lua`.
For CG
```sh
$ ./make_levels.sh
$ fxsdk build-cg
```
For FX
```sh
$ ./make_levels.sh
$ fxsdk build-fx
```

@ -1 +1 @@
Subproject commit 7fe9902c7ede9e848e453b2228c1da439942147c
Subproject commit 223dc7e0760db94480125e9ada8c6a381f56f08a

17
src/gen_levels.c Normal file

File diff suppressed because one or more lines are too long