home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / MNO100.ZIP / MNOEXAMP.MAK < prev    next >
Text File  |  1991-05-19  |  2KB  |  41 lines

  1. #--------------------------------------------------------------------*
  2. # This is a sample make file for MNOEXAMP.C.  It contains the MF     *
  3. # filter which pipes the compile and link messages to the monochrome *
  4. # display.  It is designed to be used with MNOCONSL.                 *
  5. #                                                                    *
  6. # MNOEXAMP.ERR will save the entire list of errors.                  *
  7. #                                                                    *
  8. #                                                                    *
  9. # To use, enter any of the following at an OS/2 command line:        *
  10. #                                                                    *
  11. #    NMAKE /F MNOEXAMP.MAK                                           *
  12. #    START NMAKE /F MNOEXAMP.MAK                                     *
  13. #    DETACH NMAKE /F MNOEXAMP.MAK                                    *
  14. #                                                                    *
  15. # Or set up a detached compilation as explained in MNOCALLS.DOC.     *
  16. #                                                                    *
  17. #--------------------------------------------------------------------*
  18. # Link MNOEXAMP.EXE if the object components are younger.            *
  19. # The primary target is built after the dependents are built.        *
  20. #--------------------------------------------------------------------*
  21. MNOEXAMP.EXE:  MNOEXAMP.OBJ 
  22.    @ECHO ON 1> NUL 
  23.    @ECHO --------- Linking MNOEXAMP.EXE  | MF 1> NUL
  24.    @LINK /CO MNOEXAMP,MNOEXAMP,MNOEXAMP,MNOCALLS.LIB; | MF >> MNOEXAMP.ERR
  25.    @ECHO OFF 1> NUL  
  26.    @ECHO --------- Completed. | MF 1> NUL
  27.  
  28. #--------------------------------------------------------------------*
  29. # Compile MNOEXAMP.OBJ if the source component is younger.           *
  30. # Codeview version.                                                  *
  31. #--------------------------------------------------------------------*
  32. MNOEXAMP.OBJ:  MNOEXAMP.C MNOCALLS.H 
  33.    @ECHO --------- Compiling: | MF 1> NUL
  34.    @CL /AL /Lp /qc /c /G2 /Od /Zi /W4 MNOEXAMP.C | MF > MNOEXAMP.ERR
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.