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

  1. #--------------------------------------------------------------------*
  2. # This is a sample make file for MNOTEST.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. # MNOTEST.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 MNOTEST.MAK                                            *
  12. #    START NMAKE /F MNOTEST.MAK                                      *
  13. #    DETACH NMAKE /F MNOTEST.MAK                                     *
  14. #                                                                    *
  15. # Or set up a detached compilation as explained in MNOCALLS.DOC.     *
  16. #                                                                    *
  17. #--------------------------------------------------------------------*
  18. # Link MNOTEST.EXE if the object components are younger.             *
  19. # The primary target is built after the dependents are built.        *
  20. #--------------------------------------------------------------------*
  21. MNOTEST.EXE:  MNOTEST.OBJ 
  22.    @ECHO ON 1> NUL 
  23.    @ECHO --------- Linking MNOTEST.EXE  | MF 1> NUL
  24.    @LINK  /ST:25000 /SE:256 MNOTEST,MNOTEST,MNOTEST,MNOCALLS.LIB,MNOTEST.DEF; \
  25.       | MF >> MNOTEST.ERR
  26.  
  27. #--------------------------------------------------------------------*
  28. # Compile MNOTEST.OBJ if the source component is younger.            *
  29. #--------------------------------------------------------------------*
  30. MNOTEST.OBJ:  MNOTEST.C MNOCALLS.H 
  31.    @ECHO ON 1> NUL 
  32.    @ECHO --------- Compiling: | MF 1> NUL
  33.    @CL /AL /Lp /qc /c /G2 /Od /W4 MNOTEST.C | MF > MNOTEST.ERR
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.