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