home *** CD-ROM | disk | FTP | other *** search
/ Dream 44 / Amiga_Dream_44.iso / RiscPc / programmation / scm4e2.arc / !Scm / makefile < prev    next >
Makefile  |  1995-08-03  |  2KB  |  66 lines

  1. # acorn makefile for use with amu
  2. # Project:   scm4e1
  3. # SCM makefile for the UnixLib library by Huw Rogers.
  4. # make ulibpath point to where you keep the unixlib o.unixlib
  5. # file - should be obvious.
  6. # From: ams@csd.abdn.ac.uk
  7. # al slater 6/94
  8.  
  9. # Toolflags:
  10. CCflags1 = -c -depend !Depend -JUnix: -IUnix: -pcc 
  11. CCflags2 = -DARM_ULIB -DSVR3 -DFLOATS -Dunix -DCCLO
  12. CCflags3 = $(CCflags1) $(CCflags2) -DARRAYS -DINITS=init_arcext(),init_sc2(),init_rgx(),init_gsubr(),init_record(),init_ioext()
  13. CCflags  = $(CCflags3) -DBIGNUMS -DTICKS
  14. ulibpath = Unix:o.unixlib
  15. Linkflags = -o $@
  16. Squeezeflags = -o $@
  17.  
  18.  
  19. # Final targets:
  20. @.scm:   @.o.eval @.o.repl @.o.scl @.o.scm @.o.subr @.o.sys @.o.gsubr @.o.record \
  21.         @.o.time @.o.unif @.o.archi @.o.ramap @.o.sc2 @.o.rgx @.o.ioext \
  22.         @.o.regex $(ulibpath) 
  23.         link $(linkflags) @.o.eval @.o.repl @.o.scl @.o.scm @.o.subr @.o.gsubr @.o.record \
  24.         @.o.sys @.o.time @.o.unif @.o.archi @.o.ramap @.o.sc2 @.o.rgx @.o.ioext \
  25.         @.o.regex $(ulibpath) 
  26.     squeeze @.scm
  27.  
  28. # User-editable dependencies:
  29.  
  30.  
  31. # Static dependencies:
  32. @.o.eval:   @.c.eval
  33.         cc $(ccflags) -o @.o.eval @.c.eval 
  34. @.o.ramap:    @.c.ramap
  35.     cc $(ccflags) -o @.o.ramap @.c.ramap
  36. @.o.repl:   @.c.repl
  37.         cc $(ccflags) -o @.o.repl @.c.repl 
  38. @.o.sc2:    @.c.sc2
  39.     cc $(ccflags) -o @.o.sc2 @.c.sc2
  40. @.o.scl:   @.c.scl
  41.         cc $(ccflags) -o @.o.scl @.c.scl 
  42. @.o.scm:   @.c.scm
  43.         cc $(ccflags) -o @.o.scm @.c.scm 
  44. @.o.subr:   @.c.subr
  45.         cc $(ccflags) -o @.o.subr @.c.subr 
  46. @.o.sys:   @.c.sys
  47.         cc $(ccflags) -o @.o.sys @.c.sys 
  48. @.o.time:   @.c.time
  49.         cc $(ccflags) -o @.o.time @.c.time 
  50. @.o.unif:   @.c.unif
  51.         cc $(ccflags) -o @.o.unif @.c.unif 
  52. @.o.archi:   @.c.archi
  53.     cc $(ccflags) -o @.o.archi @.c.archi
  54. @.o.rgx:     @.c.rgx
  55.         cc $(ccflags) -o @.o.rgx @.c.rgx
  56. @.o.gsubr:   @.c.gsubr
  57.         cc $(ccflags) -o @.o.gsubr @.c.gsubr
  58. @.o.record: @.c.record                
  59.         cc $(ccflags) -o @.o.record @.c.record
  60. @.o.frotz: @.c.frotz
  61.         cc $(ccflags) -o @.o.frotz @.c.frotz
  62. @.o.ioext: @.c.ioext                
  63.     cc $(ccflags) -o @.o.ioext @.c.ioext
  64.  
  65. # Dynamic dependencies:
  66.