home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / program / c / makatic / Docs / Examples / Large++ / TemplateMF
Encoding:
Text File  |  1996-02-04  |  754 b   |  43 lines

  1.  
  2.  
  3. Librarys    =            \
  4.             C:o.c++lib    \
  5.             C:o.Stubs    \
  6.  
  7. Target        =    !RunImage
  8.  
  9. ASMFlags    =    $(ASMExtra) -Stamp -NoCache -CloseExec -Quit -throwback
  10. CCFlags        =    $(CCExtra) -fahi -depend !Depend -throwback -I,@.^,C:
  11. CPPFlags    =    $(CPPExtra) -depend !Depend -throwback -I,@.^,C:
  12. LinkFlags    =    $(LinkExtra)
  13.  
  14. ASM        =    objasm $(ASMFlags)
  15. CC        =    cc -c $(CCFlags)
  16. CPP        =    Makatic._C++ c++ -c $(CPPFlags)
  17. LINK        =    Link -aif -c++ $(LinkFlags)
  18.  
  19. # Note that $(CPP) is a hack to work around a bug in Acorn's C++ compiler.
  20.  
  21.  
  22. # Don't alter anything below this...
  23.  
  24.  
  25. VPATH = @.^
  26.  
  27. .SUFFIXES:    .o .s .c .c++
  28.  
  29. $(Target):    $(ObjectFiles) $(Librarys)
  30.     $(LINK) -o $@ $(ObjectFiles) $(Librarys)
  31.  
  32. .s.o:
  33.     $(ASM) -from $< -to $@
  34.  
  35. .c.o:
  36.     $(CC) -o $@ $<
  37.  
  38. .c++.o:
  39.     $(CPP) -o $@ $<
  40.  
  41.  
  42. # Dynamic dependencies:
  43.