Ignore:
Timestamp:
Sep 28, 2000, 5:16:25 AM (25 years ago)
Author:
bird
Message:

Support for new makefile style.
Changed watcom. Nows uses UNIX compatible mode rather than M$.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/pdwin32.mk

    r3032 r4334  
    1 # $Id: pdwin32.mk,v 1.8 2000-03-06 23:42:11 bird Exp $
     1# $Id: pdwin32.mk,v 1.9 2000-09-28 03:16:23 bird Exp $
    22#
    33# PD-Win32 Project
     
    1212#    DEBUG - build a debug version instead of release version
    1313#    CCENV:
    14 #      VAC3 - use IBM VisualAge for C++ 3 compiler environment (default)
    15 #      EMX - use GNU/EMX compiler environment
     14#      VAC3  - use IBM VisualAge for C++ 3 compiler environment (default).
     15#      VAC36 - use IBM VisualAge for C++ 3.6.5 compiler environment.
     16#      WAT   - use Watcom C/C++ v11.x compiler environment.
     17#      EMX   - use GNU/EMX compiler environment.
    1618#
    1719
     20
    1821# include compiler environment
    19 !ifndef CCENV
     22!ifndef __VERSION__
     23!   ifndef CCENV
    2024CCENV=VAC3
    2125VAC3=1
    22 !else
    23 !if "$(CCENV)" == "VAC36"
     26!   else
     27!       if "$(CCENV)" == "VAC36"
    2428CCENV=VAC36
    2529VAC36=1
    26 !endif
     30!       else
     31
     32!       endif
     33!   endif
     34!else
     35# (wmake and Watcom)
     36CCENV=WAT
     37WAT=1
     38!   if "$(%DEBUG)" != ""
     39DEBUG=1
     40!   endif
    2741!endif
    2842
     43
     44# Set default directory paths if not set.
     45!ifndef PDWIN32_INCLUDE
     46PDWIN32_INCLUDE = ..\..\include
     47!endif
     48!ifndef PDWIN32_BIN
     49PDWIN32_BIN     = ..\..\$(OBJDIR)
     50!endif
     51!ifndef PDWIN32_LIB
     52PDWIN32_LIB     = ..\..\lib
     53!endif
     54!ifndef PDWIN32_TOOLS
     55PDWIN32_TOOLS   = ..\..\tools\bin
     56!endif
     57
     58
     59# Include compiler environment.
    2960!ifdef DEBUG
    3061!include $(PDWIN32_INCLUDE)/pdwin32.$(CCENV).dbg
     
    3364!endif
    3465
    35 # include system tools
     66
     67# Include system tools
    3668!include $(PDWIN32_INCLUDE)/pdwin32.tools
    3769
Note: See TracChangeset for help on using the changeset viewer.