home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / programming / toollib_2 / Examples / Tree / Builds / TemplateMF
Text File  |  1996-06-13  |  799b  |  39 lines

  1. Libraries = OSLib:o.OSLib C:o.flexlib C:o.stubs
  2.  
  3. Target = ^.^.!Tree.!RunImage
  4.  
  5. ASMFlags  = $(ASMExtra) -Stamp -NoCache -CloseExec -Quit -throwback
  6. CCFlags   = $(CCExtra) -D__swi -fussy -fah -depend !Depend -throwback -I,@.^,C:
  7. CPPFlags  = $(CPPExtra) -depend !Depend -throwback -I,@.^,C:
  8. LinkFlags = $(LinkExtra)
  9.  
  10. ASM  = objasm $(ASMFlags)
  11. CC   = cc -c $(CCFlags)
  12. CPP  = Makatic._C++ c++ -c $(CPPFlags)
  13. LINK = Link -aif -c++ $(LinkFlags)
  14.  
  15.  
  16.  
  17. # Don't alter anything below this...
  18.  
  19.  
  20. VPATH = @.^
  21.  
  22. .SUFFIXES: .o .s .c .c++
  23.  
  24. $(Target): $(ObjectFiles) $(ExtraLibs) $(Libraries)
  25.            $(LINK) -o $@ $(ObjectFiles) $(ExtraLibs) $(Libraries)
  26.            Settype $@ ff8
  27.  
  28. .s.o:
  29.            $(ASM) -from $< -to $@
  30.  
  31. .c.o:
  32.            $(CC) -o $@ $<
  33.  
  34. .c++.o:
  35.            $(CPP) -o $@ $<
  36.  
  37.  
  38. # Dynamic dependencies:
  39.