home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 317b.lha / RCS_Sources / rsbx.lib / makefile < prev    next >
Encoding:
Makefile  |  1989-12-06  |  2.2 KB  |  106 lines

  1. #$Header$
  2. #
  3. # Compiler level:
  4. #    Lattice 5.04.01
  5. #
  6. # Compiler and linker options:
  7. #    This Makefile is distributed with the -d3 option turned on and the optimizer
  8. #    option turned off because it yields working executables. Other combinations
  9. #    may also yield working executables, but removing "-d3" and turing on the
  10. #    optimizer didn't.
  11. #
  12. #
  13. .SILENT:
  14. #
  15. #
  16. CC1 = LC:lc1
  17. CC2 = LC:go
  18. CC3 = LC:lc2
  19. C1FLAGS    = -d3
  20. C2FLAGS    =
  21. C3FLAGS    =
  22. #
  23. ASM = LC:asm
  24. ASMFLAGS = -iinclude:
  25. #
  26. #
  27. #.c.o:
  28. #    $(CC1) -. $(C1FLAGS) $(CFLAGS) -oQUAD: $*
  29. #    $(CC2) -. $(C2FLAGS) QUAD:$*.q
  30. #    $(CC3) -. $(C3FLAGS) -o$*.o QUAD:$*.q
  31. #
  32. .c.o:
  33.     $(CC1) -. $(C1FLAGS) $(CFLAGS) -oQUAD: $*
  34.     $(CC3) -. $(C3FLAGS) -o$*.o QUAD:$*.q
  35.     rename $*.o $*.z
  36.     -lc:blink prelink nodebug from $*.z to $*.o
  37.     delete $*.z
  38. #
  39. #
  40. .asm.o:
  41.     $(ASM) -. $(ASMFLAGS) $*.asm
  42. #
  43. #
  44.  
  45. CDEFINES =
  46. CFLAGS     = $(CDEFINES)
  47.  
  48.  
  49. TARGETS = rsbx.lib xc.o
  50.  
  51.  
  52. all:    $(TARGETS)
  53.  
  54.  
  55. install:
  56.     copy rsbx.lib LIB:
  57.     copy xc.o LIB:
  58.  
  59.  
  60. clean:
  61.     -delete \#?.o
  62.     -delete $(TARGETS)
  63.  
  64.  
  65. RSBXOBJ = childstatus.o createfamily.o emptymorgue.o escaping.o launchc.o orpha
  66. child.o orphanchildren.o popen.o ulseg.o uxmain.o waitchild.o
  67. rsbx.lib:    $(RSBXOBJ)
  68.     oml $@ r $?
  69.  
  70.  
  71. #SOURCE = childstatus.c createfamily.c emptymorgue.c escaping.c launchc.c orpha
  72. child.c orphanchildren.c popen.c ulseg.asm uxmain.c waitchild.c xc.asm
  73. #
  74. #HFILES = INCLUDE:rsbx/childtasking.h
  75. #
  76. #depend:    ${SOURCE} ${HFILES}
  77. #    (sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \
  78. #     cc -Em ${CFLAGS} ${SOURCE} | sed 's/\.\///; /\//d' \
  79. #    ) >Makefile.new
  80. #    cp Makefile Makefile.bak
  81. #    cp Makefile.new Makefile
  82. #    rm -f Makefile.new
  83.  
  84.  
  85. # DO NOT DELETE THIS LINE - 
  86. childstatus.c: INCLUDE:rsbx/childtasking.h
  87. childstatus.o: childstatus.c
  88. createfamily.c: INCLUDE:rsbx/childtasking.h
  89. createfamily.o: createfamily.c
  90. emptymorgue.c: INCLUDE:rsbx/childtasking.h
  91. emptymorgue.o: emptymorgue.c
  92. escaping.o: escaping.c
  93. launchc.c: INCLUDE:rsbx/childtasking.h
  94. launchc.o: launchc.c
  95. orphanchild.c: INCLUDE:rsbx/childtasking.h
  96. orphanchild.o: orphanchild.c
  97. orphanchildren.c: INCLUDE:rsbx/childtasking.h
  98. orphanchildren.o: orphanchildren.c
  99. popen.c: INCLUDE:rsbx/childtasking.h
  100. popen.o: popen.c
  101. ulseg.o: ulseg.asm
  102. uxmain.o: uxmain.c
  103. waitchild.c: INCLUDE:rsbx/childtasking.h
  104. waitchild.o: waitchild.c
  105. xc.o: xc.asm
  106.