home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1999 February / PCO_0299.ISO / filesbbs / os2 / i2htm091.arj / I2HTM091.ZIP / source / inf2html.mak < prev    next >
Encoding:
Makefile  |  1998-11-11  |  1.5 KB  |  50 lines

  1. #
  2. # Compiler macro. This is used for each .OBJ file to be created.
  3. # "\" is the line-continuation mark.
  4. #
  5.  
  6. CC      = icc /c /gd- /o- /ol- /q+ /se /ss
  7.  
  8. # /oi- /w2 /fi+
  9. #/ti+
  10.  
  11. # Some VisualAge C++ compiler options explained:
  12. # /c:   compile only, no link
  13. # /fi+: precompile header files
  14. # /gd-: link runtime statically
  15. # /ge-: create DLL
  16. # /gi+: fast integer execution
  17. # /gm+: multithread libraries
  18. # /kc+: produce preprocessor warnings
  19. # /o+:  optimization (inlining etc.)
  20. # /oi-: no inlining (?)
  21. # /ol+: use intermediate linker
  22. # /q+:  suppress icc logo
  23. # /se:  all language extensions
  24. # /si+: allow use of precompiled header files
  25. # /ss:  allow double slashes
  26. # /ti+: debug code
  27. # /Wcnd: conditional exprs problems (= / == etc.)
  28. # /Wgen: generic debugging msgs
  29. # /Wcmp: possible unsigned comparison redundancies
  30. # /Wcns: operations involving constants
  31. # /Wpar: list not-referenced parameters (annoying)
  32. # /Wppc: list possible preprocessor problems (.h dependencies)
  33. # /Wpro: warn if funcs have not been prototyped
  34. # /Wrea: mark code that cannot be reached
  35. # /Wret: check consistency of return levels
  36. # /w2:   produce error and warning messages, but no infos
  37.  
  38. .c.obj:
  39.         @ echo Compiling $*.c:
  40.         $(CC) /fi"prech\$*.pch" /si"prech\$*.pch" -I$(INCLUDE) $*.c
  41.  
  42. all: ..\inf2html.exe
  43.  
  44. inf2html.obj: inf2html.c inf2html.h inf.h inf2html.mak
  45.  
  46. ..\inf2html.exe: inf2html.obj inf2html.mak
  47.         ilink /OUT:..\inf2html.exe /PMTYPE:VIO inf2html.obj
  48.  
  49.  
  50.