source: trunk/include/pdwin32.mk@ 4384

Last change on this file since 4384 was 4334, checked in by bird, 25 years ago

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

File size: 1.3 KB
RevLine 
[4334]1# $Id: pdwin32.mk,v 1.9 2000-09-28 03:16:23 bird Exp $
[4]2#
3# PD-Win32 Project
4#
5#
[9]6# Create: cdmckill@novice.uwaterloo.ca, January 4th, 1998
7# Modified: phaller@gmx.net, May 27th, 1999
[4]8#
9#
10
[9]11# defines
12# DEBUG - build a debug version instead of release version
13# CCENV:
[4334]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.
[3032]18#
[4]19
[4334]20
[9]21# include compiler environment
[4334]22!ifndef __VERSION__
23! ifndef CCENV
[9]24CCENV=VAC3
[604]25VAC3=1
[4334]26! else
27! if "$(CCENV)" == "VAC36"
[859]28CCENV=VAC36
[680]29VAC36=1
[4334]30! else
31
32! endif
33! endif
34!else
35# (wmake and Watcom)
36CCENV=WAT
37WAT=1
38! if "$(%DEBUG)" != ""
39DEBUG=1
40! endif
[9]41!endif
[4334]42
43
44# Set default directory paths if not set.
45!ifndef PDWIN32_INCLUDE
46PDWIN32_INCLUDE = ..\..\include
[604]47!endif
[4334]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
[604]57
[4334]58
59# Include compiler environment.
[4]60!ifdef DEBUG
[9]61!include $(PDWIN32_INCLUDE)/pdwin32.$(CCENV).dbg
[4]62!else
[9]63!include $(PDWIN32_INCLUDE)/pdwin32.$(CCENV).rel
64!endif
65
[4334]66
67# Include system tools
[9]68!include $(PDWIN32_INCLUDE)/pdwin32.tools
69
Note: See TracBrowser for help on using the repository browser.