home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / mavcl130.zip / MAKEFILE < prev    next >
Text File  |  1995-12-17  |  1KB  |  51 lines

  1. # Makefile for
  2. # mavcl.dll
  3. DLLNAME= mavcl
  4.  
  5. all: $(DLLNAME)
  6. $(DLLNAME): $(DLLNAME).dll
  7.  
  8. GCPPC=icc
  9. GLINK=link386
  10.  
  11. #dynamic libs
  12. LIBS=cppooc3i.lib cppom30i.lib
  13.  
  14. #production
  15. GCPPFLAGS=-c -W3 -Ge- -Gm+ -O+ -Q
  16. GLCCFLAGS=-B"/PM:PM /NOI /EXEPACK /NOD" -Q  -Ge- -Fe$(DLLNAME)
  17.  
  18. #debug
  19. #GCPPFLAGS=-c -W3 -Gm+ -Ge- -O- -Ti -Q
  20. #GLCCFLAGS=-B"/PM:PM /DEBUG /NOI /NOD" -Q  -Ge- -Fe$(DLLNAME)
  21.  
  22. $(DLLNAME).dll: mavcl.res mavfrent.obj mavdrsr.obj mavconv.obj mavregex.obj mavprint.obj mpsetup.obj
  23.     $(GCPPC) $(GLCCFLAGS) mavfrent.obj mavdrsr.obj mavprint.obj mpsetup.obj \
  24.     mavconv.obj mavregex.obj \
  25.     os2386.lib $(LIBS) $(DLLNAME).def
  26.     rc $(DLLNAME).res $(DLLNAME).dll
  27.         implib $(DLLNAME).lib $(DLLNAME).dll
  28.  
  29. mavfrent.obj: mavfrent.cpp mavfrent.hpp
  30.     $(GCPPC) $(GCPPFLAGS) mavfrent.cpp
  31.  
  32. mavdrsr.obj: mavdrsr.cpp mavdrsr.hpp
  33.     $(GCPPC) $(GCPPFLAGS) mavdrsr.cpp
  34.  
  35. mavregex.obj: mavregex.cpp mavregex.hpp
  36.     $(GCPPC) $(GCPPFLAGS) mavregex.cpp
  37.  
  38. mavconv.obj: mavconv.cpp mavconv.hpp
  39.     $(GCPPC) $(GCPPFLAGS) mavconv.cpp
  40.  
  41. mavprint.obj: mavprint.cpp mavprint.hpp
  42.     $(GCPPC) $(GCPPFLAGS) mavprint.cpp
  43.  
  44. mpsetup.obj: mpsetup.cpp mavprint.hpp
  45.     $(GCPPC) $(GCPPFLAGS) mpsetup.cpp
  46.  
  47. $(DLLNAME).res: $(DLLNAME).rc
  48.     rc -r $(DLLNAME).rc
  49.     rc $(DLLNAME).res $(DLLNAME).dll
  50.  
  51.