98 lines
2.9 KiB
Makefile
98 lines
2.9 KiB
Makefile
FONT_OBJ = \
|
|
font/ter_u12n.data.o \
|
|
font/ter_u32n.data.o
|
|
|
|
TEXTURE_OBJ = \
|
|
texture/igh25_box_top_32.data.o \
|
|
texture/igh25_box_bottom_32.data.o \
|
|
texture/igh25_box_side_32.data.o \
|
|
texture/walking/frame0000_128.data.o \
|
|
texture/walking/frame0001_128.data.o \
|
|
texture/walking/frame0002_128.data.o \
|
|
texture/walking/frame0003_128.data.o \
|
|
texture/walking/frame0004_128.data.o \
|
|
texture/walking/frame0005_128.data.o \
|
|
texture/walking/frame0006_128.data.o \
|
|
texture/turning/frame0000_128.data.o \
|
|
texture/turning/frame0001_128.data.o \
|
|
texture/turning/frame0002_128.data.o \
|
|
texture/turning/frame0003_128.data.o \
|
|
texture/turning/frame0004_128.data.o \
|
|
texture/turning/frame0005_128.data.o \
|
|
texture/turning/frame0006_128.data.o
|
|
DEMO_OBJ = \
|
|
$(LIB)/holly/core.o \
|
|
$(LIB)/holly/video_output.o \
|
|
$(LIB)/holly/region_array.o \
|
|
$(LIB)/holly/background.o \
|
|
$(LIB)/holly/ta_fifo_polygon_converter.o \
|
|
$(LIB)/holly/framebuffer.o \
|
|
$(LIB)/sh7091/serial.o \
|
|
$(LIB)/sh7091/c_serial.o \
|
|
$(LIB)/maple/maple.o \
|
|
$(LIB)/printf/printf.o \
|
|
$(LIB)/printf/unparse.o \
|
|
$(LIB)/printf/parse.o \
|
|
src/platform/main.o \
|
|
src/platform/graphics.o \
|
|
src/platform/graphics_primitive.o \
|
|
src/platform/input.o \
|
|
src/platform/texture.o \
|
|
src/platform/font.o \
|
|
src/platform/detect_emulator.o \
|
|
reference/reference_render.data.o \
|
|
src/demo/ballistics.o \
|
|
src/demo/bridge.o \
|
|
src/demo/sailboat.o \
|
|
src/demo/collision.o \
|
|
src/demo/lizard/main.o \
|
|
src/demo/lizard/world.o \
|
|
src/physics/particle.o \
|
|
src/physics/particle_link.o \
|
|
src/physics/particle_contact.o \
|
|
src/physics/body.o \
|
|
src/physics/force_generator.o \
|
|
src/physics/collide.o \
|
|
src/xm_player/sound.o \
|
|
src/xm_player/interpreter.o \
|
|
src/xm_player/playlist.o \
|
|
src/xm_player/cover.o \
|
|
src/xm_player/xm.o \
|
|
src/xm_player/malloc.o \
|
|
xm/CloudsAhead.xm.o \
|
|
xm/CottageFantasy.xm.o \
|
|
xm/ForestAtTwilight.xm.o \
|
|
xm/RedBlossom.xm.o \
|
|
xm/SpringWaltz.xm.o \
|
|
xm/SummerDreamsDemoTrackv4.xm.o \
|
|
xm/TheClockOfElery.xm.o \
|
|
xm/TheMountainsOfElmindeer.xm.o \
|
|
cover/clocks.data.o \
|
|
cover/mossycottage.data.o \
|
|
cover/mountain.data.o \
|
|
cover/thebeach.data.o \
|
|
cover/tree.data.o \
|
|
cover/redtree.data.o \
|
|
cover/silvertrees.data.o
|
|
|
|
demo.elf: LDSCRIPT = $(LIB)/main.lds
|
|
demo.elf: $(START_OBJ) $(DEMO_OBJ) $(FONT_OBJ) $(TEXTURE_OBJ) $(LIBGCC)
|
|
|
|
%_128.png: %.png
|
|
python tools/canvas_size.py $< 128 32 $@
|
|
|
|
texture/igh25_box_%.data: texture/igh25_box_%.png
|
|
python ../model_generator/color_convert.py $< rgb565 twiddled non_mipmapped $@
|
|
|
|
texture/walking/%.data: texture/walking/%.png
|
|
python ../model_generator/color_convert.py $< argb4444 twiddled non_mipmapped $@
|
|
|
|
texture/turning/%.data: texture/turning/%.png
|
|
python ../model_generator/color_convert.py $< argb4444 twiddled non_mipmapped $@
|
|
|
|
font/ter_u12n.data:
|
|
$(LIB)/tools/ttf_bitmap2 20 7f 128 64 /usr/share/fonts/terminus/ter-u12n.otb $@ > /dev/null
|
|
|
|
font/ter_u32n.data:
|
|
$(LIB)/tools/ttf_bitmap2 20 7f 256 256 /usr/share/fonts/terminus/ter-u32n.otb $@ > /dev/null
|