home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / vos2-121.zip / v / config.mk next >
Makefile  |  1999-02-22  |  4KB  |  115 lines

  1. #===============================================================
  2. # V Make Configuration file - Version 1.21 - 10/30/98
  3. #
  4. # For OS/2 EMX
  5. # Note: assumes GNU Make is being used (doesn't work with nmake)
  6. #
  7. # Copyright (C) 1995,1996,1997,1998  Bruce E. Wampler
  8. #
  9. # This file is part of the V C++ GUI Framework, and is covered
  10. # under the terms of the GNU Library General Public License,
  11. # Version 2. This library has NO WARRANTY. See the source file
  12. # vapp.cxx for more complete information about license terms.
  13. #===============================================================
  14.  
  15.  
  16. #---------------------------------------------------------------------
  17. # Version info
  18. #---------------------------------------------------------------------
  19. VV    =    1.21
  20. VVW    =    121
  21.  
  22.  
  23. #---------------------------------------------------------------------
  24. # HOMEV info
  25. # change this to the directory you've installed V to
  26. #---------------------------------------------------------------------
  27. HOMEV    =    E:/devtools/v
  28.  
  29. # Select one of the following, or provide your own paths
  30. HOMEGNU    =    E:/local/emx
  31.  
  32.  
  33. #---------------------------------------------------------------------
  34. # Tools used in the makefile execution
  35. #---------------------------------------------------------------------
  36. CC    =    gcc
  37. CXX    =    gcc -x c++
  38. LD    =    gcc
  39. GMAKE    =    gmake
  40. AR    =    ar
  41. RANLIB    =    ar -s
  42. RES    =    rc -r
  43.  
  44. #---------------------------------------------------------------------
  45. # VPATH for dependencies on header files
  46. #---------------------------------------------------------------------
  47. VPATH=$(HOMEV)/include2/v
  48.  
  49.  
  50. #---------------------------------------------------------------------
  51. # Select the architecture of your system.
  52. #---------------------------------------------------------------------
  53.  
  54. ARCH = os2
  55.  
  56. Arch = $(ARCH)
  57.  
  58. USE_3D = no
  59.  
  60. #---------------------------------------------------------------------
  61. # Select Debug or no Debug
  62. #---------------------------------------------------------------------
  63. DEBUG    =    yes
  64. #DEBUG    =    no
  65.  
  66. #---------------------------------------------------------------------
  67. # Select Develop or not - used for original development
  68. #---------------------------------------------------------------------
  69. #DEVEL    =    yes
  70. DEVEL    =    no
  71.  
  72. #---------------------------------------------------------------------
  73. # Define filename extensions that are targeted by cleanup's
  74. #---------------------------------------------------------------------
  75. CLEANEXTS= *.bak *.tmp
  76.  
  77.  
  78. #---------------------------------------------------------------------
  79. # Architecture dependent directory locations
  80. #---------------------------------------------------------------------
  81. VLibDir    =    $(HOMEV)/lib/$(Arch)
  82. LibDir    =    $(HOMEV)/lib/$(Arch)
  83. oDir    =    $(HOMEV)/obj/$(Arch)
  84. Bin    =    $(HOMEV)/bin/$(Arch)
  85.  
  86. #---------------------------------------------------------------------
  87. # Architecture independent 
  88. #---------------------------------------------------------------------
  89. INCDIR    =    -I$(HOMEV)/include2
  90. LIBDIR    =    -L$(LibDir)
  91. LIBNAME    =    vos2
  92. LIBS    =    -lvos2 -lvos2gl -lopengl -llibaux -los2 -lc -lstdcpp
  93.  
  94.  
  95.  
  96. #---------------------------------------------------------------------
  97. # C/C++ compile options
  98. #---------------------------------------------------------------------
  99. CFLAGS    = $(INCDIR) 
  100. ifeq ($(DEBUG),no)
  101. CFLAGS    +=    -O2
  102. endif
  103. ifeq ($(DEBUG),yes)
  104. CFLAGS    +=    -g 
  105. endif
  106. ifeq ($(DEVEL),yes)
  107. CFLAGS    +=    -DDEVEL -Wall
  108. endif
  109. CFLAGS    +=      -DOS2EMX_PLAIN_CHAR -pipe 
  110.  
  111. #---------------------------------------------------------------------
  112. # LINK/LOAD options
  113. #---------------------------------------------------------------------
  114. LDFLAGS    =    $(LIBDIR) $(LIBS)
  115.