nolibgs_demo/Makefile

47 lines
1.3 KiB
Makefile
Raw Normal View History

2021-11-14 18:04:11 +01:00
TARGET = nolibgs_demo
2021-10-21 16:35:08 +02:00
.PHONY: all cleansub
all:
2021-11-14 18:04:11 +01:00
$(MAKE) -C OVL/hello_cubetex clean all
$(MAKE) -C OVL/hello_light clean all
$(MAKE) -C OVL/hello_ovl_world clean all
$(MAKE) -C OVL/hello_pad clean all
$(MAKE) -C OVL/hello_poly clean all
$(MAKE) -C OVL/hello_sprt clean all
$(MAKE) -C OVL/hello_tile clean all
2021-10-21 16:35:08 +02:00
mkpsxiso -y ./isoconfig.xml
cleansub:
2021-11-14 18:04:11 +01:00
$(MAKE) -C OVL/hello_cubetex clean
$(MAKE) -C OVL/hello_light clean
$(MAKE) -C OVL/hello_ovl_world clean
$(MAKE) -C OVL/hello_pad clean
$(MAKE) -C OVL/hello_poly clean
$(MAKE) -C OVL/hello_sprt clean
$(MAKE) -C OVL/hello_tile clean
2021-10-21 16:35:08 +02:00
$(MAKE) clean
2021-11-14 18:04:11 +01:00
rm -f $(TARGET).cue $(TARGET).bin
2021-10-21 16:35:08 +02:00
rm -f *.mcd *.frag *.lua *.vert
2021-10-29 18:25:04 +02:00
OVERLAYSCRIPT ?= overlay.ld
2021-11-14 18:04:11 +01:00
OVERLAYSECTION ?= .ovly0 .ovly1 .ovly2 .ovly3 .ovly4 .ovly5 .ovly6
2021-10-29 18:25:04 +02:00
2021-10-21 16:35:08 +02:00
SRCS = hello_str.c \
2021-10-24 19:39:44 +02:00
src/str.c \
2021-10-26 18:24:12 +02:00
src/mod.c \
2021-10-29 12:20:31 +02:00
third_party/nugget/modplayer/modplayer.c \
2021-10-28 18:28:04 +02:00
HIT/SHIN1.HIT \
2021-10-29 18:25:04 +02:00
OVL/hello_ovl_world/hello_ovl_world.c \
OVL/hello_tile/hello_ovl_tile.c \
OVL/hello_poly/hello_ovl_poly.c \
2021-11-14 18:04:11 +01:00
OVL/hello_sprt/hello_ovl_sprt.c \
OVL/hello_cubetex/hello_ovl_cubetex.c \
OVL/hello_light/hello_ovl_light.c \
OVL/hello_pad/hello_ovl_pad.c \
OVL/hello_sprt/TIM/TIM16.tim \
OVL/hello_sprt/TIM/TIM8.tim \
OVL/hello_sprt/TIM/TIM4.tim \
OVL/hello_cubetex/TIM/cubetex.tim \
2021-10-21 16:35:08 +02:00
include common.mk
2021-11-14 18:04:11 +01:00