home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / CONTRIB / MBASE / MBASE50.TAR / mbase / sample / makefile.dos < prev    next >
Encoding:
Makefile  |  1992-10-06  |  892 b   |  44 lines

  1. #
  2. #  METALBASE 5.0
  3. #
  4. #  Released October 1st, 1992 by Huan-Ti [ richid@owlnet.rice.edu ]
  5. #                                        [ t-richj@microsoft.com ]
  6. #
  7. #  Makefile for demonstration program  -- Microsoft C6 expected
  8. #
  9. #
  10. #  If mbase.h and stdinc.h aren't in \include, put them there or add
  11. #  -Idirectory to CFLAGS=.
  12.  
  13. CFLAGS = -nologo -c -W3 -AL -DNEED_USHORT -DNEED_ULONG
  14.  
  15. CC     = CL $(CFLAGS)
  16.  
  17. ###############################################################################
  18.  
  19. all : sample.exe bench.exe
  20.  
  21.  
  22. bench.exe : bench.obj
  23.     link/nologo bench.obj, bench.exe,, mbase.lib lcurses;
  24.  
  25. bench.obj : bench.c bench.h
  26.     $(CC) $*.c
  27.  
  28. bench.h : bench.s
  29.     .\build -qh bench.s
  30.  
  31.  
  32. sample.exe : sample.obj
  33.     link/nologo sample.obj, sample.exe,, mbase.lib lcurses;
  34.  
  35. sample.obj : sample.c sample.h sample_f.h
  36.     $(CC) $*.c
  37.  
  38. sample.h : sample.s
  39.     .\build -qh sample.s
  40.  
  41. sample_f.h : sample.frm
  42.     .\form sample
  43.  
  44.