home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / dho.zip / DHO / SAMPLES / MAKEFILE.ICC < prev    next >
Text File  |  1995-09-04  |  3KB  |  134 lines

  1. ##########################################
  2. #    Developer Helper Object Set                                 #
  3. #  (C) 1994-95 Thomas E. Bednarz, Jr.                         #
  4. #     All rights reserved                                          #
  5. ##########################################
  6.  
  7.  
  8. # $Id: makefile 1.7 1995/08/27 08:37:30 teb Exp teb $
  9.  
  10. RM = del
  11. DHODIR = \DHO
  12.  
  13. # uncomment the next 2 lines for the IBM CSet++
  14. # compiler2
  15. ####################################################
  16. CC=icc
  17. # uncomment the next 2 lines for a debug build
  18. DEBUG=/Ti+ -DDEBUG
  19. DBG=d
  20. CFLAGS=/C+ /Q+ /Ti+ /Fi+ /I $(DHODIR)\include /Tp
  21. EXECFLAGS=/Q+ /Ti+
  22. AR=lib
  23. SUFFIX=icc
  24. JOIN=+
  25. OUT= /Fe
  26.  
  27. # uncomment the next 2 lines for the GCC/2
  28. #  compiler
  29. #####################################################
  30. #CC=gcc
  31. # uncomment the next 2 lines for a debug build
  32. #DEBUG=-DDEBUG
  33. #DBG=d
  34. #CFLAGS=$(DEBUG) -c -I $(DHODIR)\include
  35. #EXECFLAGS- -I $(DHODIR)\include
  36. #AR=glib
  37. #JOIN=-a 
  38. #OUT=-o
  39.  
  40. # uncomment the next 2 lines for the EMX
  41. # compiler
  42. #####################################################
  43. #CC=gcc 
  44. # uncomment the next 2 lines for a debug build
  45. #DEBUG=-DDEBUG
  46. #DBG=d
  47. #CFLAGS=$(DEBUG) -c -I $(DHODIR)\include -Zomf
  48. #EXECFLAGS= -I $(DHODIR)\include -Zomf
  49. #AR=emxomfar q
  50. #JOIN=
  51. #OUT=-o
  52.  
  53. LIBS=$(DHODIR)\lib\dho$(SUFFIX)$(DBG).lib
  54.  
  55. ALL: simple.exe lboxtest.exe wintest.exe vsettest.exe vset2.exe threadex.exe nbktest.exe conttest.exe
  56.  
  57. clean:
  58.         del *.obj
  59.         del *.exe
  60.         del *.res
  61.  
  62. threadex.exe : threadex.obj
  63.     $(CC) $(EXECFLAGS) $(EXECFLAGS) $*.obj $(LIBS) $(OUT) $*.exe
  64.  
  65. clean:
  66.     -del *.res
  67.     -del *.obj
  68.     -del *.exe
  69.  
  70. .SUFFIXES: .cc .obj .rc .res .exe .zip
  71.  
  72. # inference rules
  73. #########################
  74. .zip.cc:
  75.     unzip $<
  76.  
  77. .cc.obj:
  78.     $(CC) $(CFLAGS) $<
  79.  
  80.  
  81. .rc.res:
  82.     RC -r $<
  83.  
  84. .obj.exe:
  85.     $(CC) $(EXECFLAGS) $(EXECFLAGS) $*.obj $(LIBS) $*.def $(OUT) $*.exe
  86.     rc $*.res
  87.  
  88.  
  89. nbktest.exe : nbktest.obj nbktest.res
  90. nbktest.obj : nbktest.cc nbktest.h
  91. nbktest.res : nbktest.rc
  92. simple.exe : simple.obj simple.res
  93. simple.res : simple.rc
  94. simple.obj : simple.cc simple.h
  95. vsettest.exe : vsettest.obj vsettest.res
  96. vsettest.obj : vsettest.cc
  97. vsettest.res : vsettest.rc 
  98. conttest.exe : conttest.obj conttest.res
  99. conttest.obj : conttest.cc conttest.h
  100. conttest.res : conttest.rc
  101. wintest.exe : wintest.obj wintest.res
  102. wintest.obj : wintest.cc
  103. wintest.res : wintest.rc
  104. lboxtest.exe : lboxtest.obj lboxtest.res
  105. lboxtest.obj : lboxtest.cc lboxtest.h
  106. lboxtest.res : lboxtest.rc
  107. threadex.exe : threadex.obj
  108. threadex.obj : threadex.cc 
  109. vset2.exe : vset2.obj vset2.res
  110. vset2.obj : vset2.cc
  111. vset2.res : vset2.rc
  112. prgtest.exe : prgtest.obj prgtest.res
  113. prgtest.obj : prgtest.cc prgtest.h
  114. prgtest.res : prgtest.rc
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.