Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dreamcast
dcdivx
Commits
43d07463
Commit
43d07463
authored
Jun 02, 2024
by
Donald Haase
Browse files
Minor cleanup in makefile and shifting harder-to-fix things into their own OBJS
parent
05314a69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
43d07463
# Basic KallistiOS Makefile for Projects without ROMDISK
TARGET
=
divx.elf
OBJS
=
loading.o Divx3Decoder/common.o Divx3Decoder/utils.o Divx3Decoder/h263dec.o Divx3Decoder/mpegvideo.o Divx3Decoder/h263.o Divx3Decoder/dsputil.o Divx3Decoder/msmpeg4.o Divx3Decoder/motion_est.o Divx3Decoder/jrevdct.o MP3Reader.o divx_player.o texture.o bkg.o 3dutils.o songmenu.o sndstream.o romdisk.o video.o DivxDecoder/decore.o DivxDecoder/mp4_decoder.o DivxDecoder/mp4_picture.o DivxDecoder/mp4_header.o DivxDecoder/mp4_mblock.o DivxDecoder/getbits.o DivxDecoder/mp4_predict.o DivxDecoder/mp4_recon.o DivxDecoder/mp4_vld.o yuv2rgb.o AviDecaps.o InputMedia.o MADDecoder/frame.o MADDecoder/stream.o MADDecoder/synth.o MADDecoder/huffman.o MADDecoder/layer3.o MADDecoder/bit.o MADDecoder/fixed.o divx.o on2/vp3_ppc/VP3_PPC.o on2/vp3_ppc/BlockMapping.o on2/vp3_ppc/DCT_decode.o on2/vp3_ppc/DDecode.o on2/vp3_ppc/DFrameR.o on2/vp3_ppc/DSystemDependant.o on2/vp3_ppc/FrameIni.o on2/vp3_ppc/Frarray.o on2/vp3_ppc/Huffman.o on2/vp3_ppc/IDctPart.o on2/vp3_ppc/pb_globals.o on2/vp3_ppc/Quantize.o on2/vp3_ppc/Reconstruct.o on2/vp3_ppc/unpack.o on2/vp3_ppc/vfwpbdll_if.o OGGLib/OGGLib.o OGGLib/lib/bitwise.o OGGLib/lib/block.o OGGLib/lib/codebook.o OGGLib/lib/floor0.o OGGLib/lib/floor1.o OGGLib/lib/framing.o OGGLib/lib/info.o OGGLib/lib/lsp.o OGGLib/lib/mapping0.o OGGLib/lib/mdct.o OGGLib/lib/registry.o OGGLib/lib/res0.o OGGLib/lib/sharedbook.o OGGLib/lib/synthesis.o OGGLib/lib/time0.o OGGLib/lib/window.o
OBJS
=
Divx3Decoder/common.o Divx3Decoder/utils.o Divx3Decoder/h263dec.o Divx3Decoder/mpegvideo.o Divx3Decoder/h263.o Divx3Decoder/dsputil.o Divx3Decoder/msmpeg4.o Divx3Decoder/motion_est.o Divx3Decoder/jrevdct.o MP3Reader.o romdisk.o DivxDecoder/decore.o DivxDecoder/mp4_decoder.o DivxDecoder/mp4_picture.o DivxDecoder/mp4_header.o DivxDecoder/mp4_mblock.o DivxDecoder/getbits.o DivxDecoder/mp4_predict.o DivxDecoder/mp4_recon.o DivxDecoder/mp4_vld.o yuv2rgb.o AviDecaps.o InputMedia.o MADDecoder/frame.o MADDecoder/stream.o MADDecoder/synth.o MADDecoder/huffman.o MADDecoder/layer3.o MADDecoder/bit.o MADDecoder/fixed.o On2/VP3_PPC/VP3_PPC.o On2/VP3_PPC/BlockMapping.o On2/VP3_PPC/DCT_decode.o On2/VP3_PPC/DDecode.o On2/VP3_PPC/DFrameR.o On2/VP3_PPC/DSystemDependant.o On2/VP3_PPC/FrameIni.o On2/VP3_PPC/Frarray.o On2/VP3_PPC/Huffman.o On2/VP3_PPC/IDctPart.o On2/VP3_PPC/pb_globals.o On2/VP3_PPC/Quantize.o On2/VP3_PPC/Reconstruct.o On2/VP3_PPC/unpack.o On2/VP3_PPC/vfwpbdll_if.o OGGLib/OGGLib.o OGGLib/lib/bitwise.o OGGLib/lib/block.o OGGLib/lib/codebook.o OGGLib/lib/floor0.o OGGLib/lib/floor1.o OGGLib/lib/framing.o OGGLib/lib/info.o OGGLib/lib/lsp.o OGGLib/lib/mapping0.o OGGLib/lib/mdct.o OGGLib/lib/registry.o OGGLib/lib/res0.o OGGLib/lib/sharedbook.o OGGLib/lib/synthesis.o OGGLib/lib/time0.o OGGLib/lib/window.o
OBJS
+=
loading.o divx_player.o texture.o bkg.o 3dutils.o songmenu.o sndstream.o video.o divx.o
all
:
rm-elf $(TARGET)
...
...
@@ -17,9 +19,7 @@ rm-elf:
-
rm
-f
$(TARGET)
$(TARGET)
:
$(OBJS)
$(KOS_CC)
$(KOS_CFLAGS)
-O2
$(KOS_LDFLAGS)
-o
$(TARGET)
$(KOS_START)
\
$(OBJS)
$(OBJEXTRA)
-L$(KOS_BASE)/lib
-ljpeg
-lz
-ldcutils
-lkallisti
-lgcc
-lm
kos-cc
-o
$(TARGET)
$(OBJS)
-ljpeg
-lz
-ldcutils
$(KOS_OBJCOPY)
-O
binary
$(TARGET)
divx.bin
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment