home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 55
/
Amiga_Dream_55.iso
/
RISCOS
/
MAGAZINE
/
NEWS
/
3DENGI.ZIP
/
3DEngine
/
Makefile
< prev
next >
Wrap
Makefile
|
1998-08-12
|
2KB
|
106 lines
# Project: 3DTest
# Toolflags:
CCflags = -c -depend !Depend -IC: -throwback -Otime -zps1
CCflagsH = -c -depend !Depend -IC: -throwback -Otime -DHierProf_PROFILE
CCflagsM = -c -g -depend !Depend -IC: -throwback -Otime -DMemcheck_MEMCHECK
C++flags = -c -depend !Depend -IC: -throwback
Linkflags = -aif -c++ -o $@
ObjAsmflags = -throwback -NoCache -depend !Depend
CMHGflags =
LibFileflags = -c -o $@
Squeezeflags = -o $@
.SUFFIXES: .o .om .oh .c .s
.s.o:; OBjasm $(ObjAsmFlags) -o $@ $<
.c.o:; cc $(CCflags) -o $@ $<
.c.om:; MemCheck.CC cc $(ccflagsM) -o $@ $<
.c.oh:; cc $(ccflagsH) -o $@ $<
# O_FILES
O_FILES = \
@.o.V_Mode \
@.o.fpuset
# OH_FILES
OH_FILES = \
@.oh.V_Mode \
@.o.fpuset
# OH_FILES
OM_FILES = \
@.om.V_Mode \
@.o.fpuset
# Final targets:
# All: @.3DTest @.3dTestH @.3dTestM
All: @.3DTest
Echo Example App built!
@.3DTest: ModelLib:ModelLib PlotLib:PlotLib c:o.stubs $(O_FILES)
link $(linkflags) ModelLib:ModelLib PlotLib:PlotLib c:o.stubs $(O_FILES)
@.3DTestH: ModelLib:ModelLib c:o.stubs $(OH_FILES)
link $(linkflags) ModelLib:ModelLib PlotLib:PlotLib c:o.stubs $(OH_FILES) HierProf:o.HP
@.3DTestM: ModelLib:ModelLibM c:o.stubs $(OM_FILES)
link -d $(linkflags) ModelLib:ModelLibM PlotLib:PlotLibM c:o.stubs $(OM_FILES) MemCheck:o.MC
PlotLib:PlotLib:
|Build !PlotLib first!
error 0 Build !PlotLib first!
ModelLib:ModelLib:
|Build !ModelLib first!
error 0 Build !ModelLib first!
ModelLib:ModelLibM:
|Build !ModelLib first!
error 0 Build !ModelLib first!
# User-editable dependencies:
# Static dependencies:
# Dynamic dependencies:
oh.V_Mode: c.V_Mode
oh.V_Mode: C:h.bbc
oh.V_Mode: C:h.os
oh.V_Mode: C:h.kernel
oh.V_Mode: C:h.swis
oh.V_Mode: C:h.os
oh.V_Mode: C:h.time
oh.V_Mode: HierProf:h.Hierprof
oh.V_Mode: ModelLib:h.ModelLib
oh.V_Mode: PlotLib:h.PlotLib
om.V_Mode: c.V_Mode
om.V_Mode: MemCheck:ANSI.h.stdio
om.V_Mode: C:h.stdlib
om.V_Mode: C:h.string
om.V_Mode: C:h.stdarg
om.V_Mode: C:h.math
om.V_Mode: C:h.bbc
om.V_Mode: C:h.os
om.V_Mode: C:h.kernel
om.V_Mode: C:h.swis
om.V_Mode: C:h.os
om.V_Mode: C:h.time
om.V_Mode: MemCheck:h.MemCheck
om.V_Mode: C:h.stddef
om.V_Mode: MemCheck:ANSI.h.stdio
om.V_Mode: C:h.stdarg
om.V_Mode: ModelLib:h.ModelLib
om.V_Mode: PlotLib:h.PlotLib
o.fpuset: s.fpuset
o.V_Mode: c.V_Mode
o.V_Mode: C:h.bbc
o.V_Mode: C:h.os
o.V_Mode: C:h.kernel
o.V_Mode: C:h.swis
o.V_Mode: C:h.os
o.V_Mode: C:h.time
o.V_Mode: ModelLib:h.ModelLib
o.V_Mode: PlotLib:h.PlotLib