home *** CD-ROM | disk | FTP | other *** search
/ MS DOS Archives 1 / MS-DOS_Archives_Volume_One_Walnut_Creek.iso / msdos / graphics / grafxlib.arc / MAKEMSC < prev    next >
Text File  |  1987-08-31  |  1KB  |  45 lines

  1. #
  2. # Make file for Grafix, Microsoft C. Typing 'make makemsc' will build
  3. #   a small model library called grafix.lib. To compile a different
  4. #   memory model, set other compiler options, or change the name of
  5. #   the library, set the cflags, asmflags, and/or libname macros
  6. #   from the command line. For example, if you want to build a
  7. #   medium model library, you should type:
  8. #      make cflags=/AM asmflags=/DMEDIUM libname=grafixm makemsc
  9. #   Be sure that no object modules that were compiled with a different
  10. #   memory model are lying around! The batch file buildmsc.bat will
  11. #   automatically build all four libraries from scratch. Oh, and also
  12. #   be sure you have the compiler properly configured so that it
  13. #   can find its include files. You will also need to have MASM and
  14. #   Microsoft's LIB utility on your search path.
  15. #
  16.  
  17. cflags=
  18. asmflags=
  19. libname=grafix
  20.  
  21. # /Gs = no stack probes
  22. .c.obj:
  23.   msc/Gs $(cflags) $*;
  24.   lib $(libname) -+$*;
  25.  
  26. # /Mx = case is signifigant
  27. .asm.obj:
  28.   masm/Mx $(asmflags) $*;
  29.   lib $(libname) -+$*;
  30.  
  31. cgagraf.obj: cgagraf.c macros.h grafsys.h cga.h
  32.  
  33. cgagrafa.obj: cgagrafa.asm macros.ah
  34.  
  35. egagraf.obj: egagraf.c macros.h grafsys.h ega.h
  36.  
  37. egagrafa.obj: egagrafa.asm macros.ah
  38.  
  39. graf.obj: graf.c macros.h graf.h grafsys.h cga.h ega.h
  40.  
  41. graflib.obj: graflib.asm macros.ah
  42.  
  43. halofake.obj: halofake.c macros.h graf.h
  44.  
  45.