home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ARM Club 3
/
TheARMClub_PDCD3.iso
/
hensa
/
converters
/
audiompeg_1
/
!AudioMPEG
/
MakeDecode
< prev
next >
Wrap
Text File
|
1995-05-16
|
2KB
|
46 lines
# -------------------------------------------------------
# | Toolflags |
# -------------------------------------------------------
.SUFFIXES: .c .o .s
CCFlags = -c -throwback -IC: -ff
ASMflags = -ThrowBack -Stamp -quit -CloseExec
LinkFlags = -o $@
SqueezeFlags = -f -v
# -------------------------------------------------------
# | Macro definitions |
# -------------------------------------------------------
CC = cc
ASM = objasm
LINK = link
Libs = C:o.RISC_OSLib DeskLib:o.DeskLib C:o.Stubs
OBJECTS = o.musicout o.common o.decode o.subs
# -------------------------------------------------------
# | Final target |
# -------------------------------------------------------
decode: $(OBJECTS)
Link $(LinkFlags) $(Objects) $(Libs)
squeeze $(SqueezeFlags) Decode
# -------------------------------------------------------
# | Static dependencies |
# -------------------------------------------------------
.c.o:; $(CC) $(CCflags) $< -o $@
.s.o:; $(ASM) $(ASMflags) -from $< -to $@
# -------------------------------------------------------
# | Dynamic dependencies |
# -------------------------------------------------------
o.decode: h.common h.decoder
o.common: h.common
o.musicout: h.common h.decoder
o.subs: h.common h.encoder