home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d2xx / d282 / rcs.lha / RCS / rcs.zoo / rcs / rsbx.lib / makefile < prev    next >
Makefile  |  1989-11-12  |  2KB  |  104 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 orphanchild.o orphanchildren.o popen.o ulseg.o uxmain.o waitchild.o
  66. rsbx.lib:    $(RSBXOBJ)
  67.     oml $@ r $?
  68.  
  69.  
  70. #SOURCE = childstatus.c createfamily.c emptymorgue.c escaping.c launchc.c orphanchild.c orphanchildren.c popen.c ulseg.asm uxmain.c waitchild.c xc.asm
  71. #
  72. #HFILES = INCLUDE:rsbx/childtasking.h
  73. #
  74. #depend:    ${SOURCE} ${HFILES}
  75. #    (sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \
  76. #     cc -Em ${CFLAGS} ${SOURCE} | sed 's/\.\///; /\//d' \
  77. #    ) >Makefile.new
  78. #    cp Makefile Makefile.bak
  79. #    cp Makefile.new Makefile
  80. #    rm -f Makefile.new
  81.  
  82.  
  83. # DO NOT DELETE THIS LINE - 
  84. childstatus.c: INCLUDE:rsbx/childtasking.h
  85. childstatus.o: childstatus.c
  86. createfamily.c: INCLUDE:rsbx/childtasking.h
  87. createfamily.o: createfamily.c
  88. emptymorgue.c: INCLUDE:rsbx/childtasking.h
  89. emptymorgue.o: emptymorgue.c
  90. escaping.o: escaping.c
  91. launchc.c: INCLUDE:rsbx/childtasking.h
  92. launchc.o: launchc.c
  93. orphanchild.c: INCLUDE:rsbx/childtasking.h
  94. orphanchild.o: orphanchild.c
  95. orphanchildren.c: INCLUDE:rsbx/childtasking.h
  96. orphanchildren.o: orphanchildren.c
  97. popen.c: INCLUDE:rsbx/childtasking.h
  98. popen.o: popen.c
  99. ulseg.o: ulseg.asm
  100. uxmain.o: uxmain.c
  101. waitchild.c: INCLUDE:rsbx/childtasking.h
  102. waitchild.o: waitchild.c
  103. xc.o: xc.asm
  104.