home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ARM Club 3
/
TheARMClub_PDCD3.iso
/
hensa
/
programming
/
toollib_2
/
Examples
/
Tree
/
Builds
/
TemplateMF
Wrap
Text File
|
1996-06-13
|
799b
|
39 lines
Libraries = OSLib:o.OSLib C:o.flexlib C:o.stubs
Target = ^.^.!Tree.!RunImage
ASMFlags = $(ASMExtra) -Stamp -NoCache -CloseExec -Quit -throwback
CCFlags = $(CCExtra) -D__swi -fussy -fah -depend !Depend -throwback -I,@.^,C:
CPPFlags = $(CPPExtra) -depend !Depend -throwback -I,@.^,C:
LinkFlags = $(LinkExtra)
ASM = objasm $(ASMFlags)
CC = cc -c $(CCFlags)
CPP = Makatic._C++ c++ -c $(CPPFlags)
LINK = Link -aif -c++ $(LinkFlags)
# Don't alter anything below this...
VPATH = @.^
.SUFFIXES: .o .s .c .c++
$(Target): $(ObjectFiles) $(ExtraLibs) $(Libraries)
$(LINK) -o $@ $(ObjectFiles) $(ExtraLibs) $(Libraries)
Settype $@ ff8
.s.o:
$(ASM) -from $< -to $@
.c.o:
$(CC) -o $@ $<
.c++.o:
$(CPP) -o $@ $<
# Dynamic dependencies: