home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c011 / 1.ddi / MISC / FXLIB < prev    next >
Encoding:
Text File  |  1989-06-01  |  4.4 KB  |  161 lines

  1. # fxLIB Make File                                                             #
  2. # Copyright (c) Genus Microprogramming, Inc. 1988-89  All Rights Reserved.    #
  3.  
  4.  
  5. ###############################################################################
  6. #                                                                             #
  7. # This make file is for making the PCX F/X Libraries.                         #
  8. #                                                                             #
  9. #                                                                             #
  10. # Microsoft ASM 5.1                       Programmer: Chris Howard  3/15/89   #
  11. #                                                                             #
  12. ###############################################################################
  13.  
  14.  
  15. # Default memory model (SMODEL, MMODEL, LMODEL)
  16. MODEL    = SMODEL
  17.  
  18. # Default compiler (MSC, TURBOC, TURBOP, QB)
  19. COMPILER = MSC
  20.  
  21. # Default library directory (CS, CM, CL)
  22. LIBDIR   = CS
  23.  
  24. # Compiler and linker flags
  25. AFLAGS   = /V /D$(MODEL) /D$(COMPILER) /DLINT_ARGS /W2 /B63
  26. #          /MX = pub/ext case      /V  = extra statistics   /D  = define
  27. #          /W2 = warning level     /L  = list file          /ZI = codeview
  28. #          /B  = buffer size
  29.  
  30. CFLAGS   = /G0 /AS /Os /c
  31. LFLAGS   =
  32. DFLAGS   = /DLINT_ARGS /W3
  33.  
  34. # Compiler Programs
  35. CC       = cl   $(CFLAGS) $(DFLAGS)
  36. ASM      = masm $(AFLAGS)
  37. LINK     = link $(LFLAGS) 
  38. LIB      = lib
  39.  
  40. # ASM Include files
  41. PCXMACS  = ..\inc\pcxMacs.inc
  42. PCXERRS  = ..\inc\pcxErrs.inc
  43. PCXDEFS  = ..\inc\pcxDefs.inc
  44. PCXINCS  = $(PCXDEFS) $(PCXMACS) $(PCXERRS)
  45.  
  46. FXMACS   = ..\inc\fxMacs.inc
  47. FXERRS   = ..\inc\fxErrs.inc
  48. FXDEFS   = ..\inc\fxDefs.inc
  49. FXINCS   = $(FXDEFS) $(FXMACS) $(FXERRS)
  50.  
  51. # Libraries
  52. FXLIB    = $(LIBDIR)\fx_$(LIBDIR)
  53.  
  54. # Remember:
  55. #
  56. #   $*   = Base name of the outfile (without extension)
  57. #   $@   = Complete outfile name
  58. #   $**  = Complete list of infiles
  59. #
  60.  
  61. # Inference rules  (Which don't seem to work . . .)
  62. .asm.obj:
  63.          $(ASM) $*,$@;
  64.          $(LIB) $(FXLIB) -$* +$@;
  65.  
  66.  
  67. ############
  68.  
  69. # fx Set Effect       
  70. $(LIBDIR)\fxSE.obj: $*.asm $(PCXINCS) $(FXINCS)
  71.          $(ASM) $*,$@;
  72.          $(LIB) $(FXLIB) -$* +$@;
  73.  
  74. # fx Virtual Init       
  75. $(LIBDIR)\fxVI.obj: $*.asm $(PCXINCS) $(FXINCS)
  76.          $(ASM) $*,$@;
  77.          $(LIB) $(FXLIB) -$* +$@;
  78.  
  79. # fx Virtual Effect       
  80. $(LIBDIR)\fxVE.obj: $*.asm $(PCXINCS) $(FXINCS)
  81.          $(ASM) $*,$@;
  82.          $(LIB) $(FXLIB) -$* +$@;
  83.  
  84. # fx Virtual Wipe         
  85. $(LIBDIR)\fxVW.obj: $*.asm $(PCXINCS) $(FXINCS)
  86.          $(ASM) $*,$@;
  87.          $(LIB) $(FXLIB) -$* +$@;
  88.  
  89. # fx Virtual Slide
  90. $(LIBDIR)\fxVL.obj: $*.asm $(PCXINCS) $(FXINCS)
  91.          $(ASM) $*,$@;
  92.          $(LIB) $(FXLIB) -$* +$@;
  93.  
  94. # fx Virtual Split
  95. $(LIBDIR)\fxVS.obj: $*.asm $(PCXINCS) $(FXINCS)
  96.          $(ASM) $*,$@;
  97.          $(LIB) $(FXLIB) -$* +$@;
  98.  
  99. # fx Virtual Crush
  100. $(LIBDIR)\fxVC.obj: $*.asm $(PCXINCS) $(FXINCS)
  101.          $(ASM) $*,$@;
  102.          $(LIB) $(FXLIB) -$* +$@;
  103.  
  104. # fx Virtual Sand
  105. $(LIBDIR)\fxVA.obj: $*.asm $(PCXINCS) $(FXINCS)
  106.          $(ASM) $*,$@;
  107.          $(LIB) $(FXLIB) -$* +$@;
  108.  
  109. # fx Virtual Drip
  110. $(LIBDIR)\fxVR.obj: $*.asm $(PCXINCS) $(FXINCS)
  111.          $(ASM) $*,$@;
  112.          $(LIB) $(FXLIB) -$* +$@;
  113.  
  114. # fx Virtual Explode
  115. $(LIBDIR)\fxVX.obj: $*.asm $(PCXINCS) $(FXINCS)
  116.          $(ASM) $*,$@;
  117.          $(LIB) $(FXLIB) -$* +$@;
  118.  
  119. # fx Virtual Diagonal
  120. $(LIBDIR)\fxVD.obj: $*.asm $(PCXINCS) $(FXINCS)
  121.          $(ASM) $*,$@;
  122.          $(LIB) $(FXLIB) -$* +$@;
  123.  
  124. # fx Virtual Spiral
  125. $(LIBDIR)\fxVP.obj: $*.asm $(PCXINCS) $(FXINCS)
  126.          $(ASM) $*,$@;
  127.          $(LIB) $(FXLIB) -$* +$@;
  128.  
  129. # fx Virtual Random
  130. $(LIBDIR)\fxVN.obj: $*.asm $(PCXINCS) $(FXINCS)
  131.          $(ASM) $*,$@;
  132.          $(LIB) $(FXLIB) -$* +$@;
  133.  
  134. # fx Time Delay and Keyboard
  135. $(LIBDIR)\fxDK.obj: $*.asm $(PCXINCS) $(FXINCS)
  136.          $(ASM) $*,$@;
  137.          $(LIB) $(FXLIB) -$* +$@;
  138.  
  139. # fx Tone and Play 
  140. $(LIBDIR)\fxTP.obj: $*.asm $(PCXINCS) $(FXINCS)
  141.          $(ASM) $*,$@;
  142.          $(LIB) $(FXLIB) -$* +$@;
  143.  
  144. # fx Palette Effects
  145. $(LIBDIR)\fxPC.obj: $*.asm $(PCXINCS) $(FXINCS)
  146.          $(ASM) $*,$@;
  147.          $(LIB) $(FXLIB) -$* +$@;
  148.  
  149. # fx Random Numbers
  150. $(LIBDIR)\fxSR.obj: $*.asm $(PCXINCS) $(FXINCS)
  151.          $(ASM) $*,$@;
  152.          $(LIB) $(FXLIB) -$* +$@;
  153.  
  154. # fx File Image
  155. $(LIBDIR)\fxFI.obj: $*.asm $(PCXINCS) $(FXINCS)
  156.          $(ASM) $*,$@;
  157.          $(LIB) $(FXLIB) -$* +$@;
  158.  
  159. # End.
  160.  
  161.