Skip to content

Commit 2dc2cc3

Browse files
committed
For VT builds with OpenWATCOM, add WIN=Y for Windows; omit it for DOS
1 parent 0c18ca1 commit 2dc2cc3

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

vt/Makefile.wcc

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Watcom Makefile for PDCurses - DOS
22
#
3-
# Usage: wmake -f [path\]Makefile.wcc [DEBUG=Y] [WIDE=Y] [MODEL=c|h|l|m|s|f] [target]
3+
# Usage: wmake -f [path\]Makefile.wcc [DEBUG=Y] [WIDE=Y] [MODEL=c|h|l|m|s|f] [WIN=Y] [target]
44
#
55
# where target can be any of:
66
# [all|demos|pdcurses.lib|testcurs.exe...]
@@ -17,14 +17,25 @@ PDCURSES_SRCDIR = ..
1717

1818
osdir = vt
1919

20+
!ifeq WIN Y
21+
TARGET = nt
22+
LTARGET = nt_win
23+
CFLAGS = -ei
24+
!ifeq DLL Y
25+
ADDED_LIBS_FOR_DLL = lib winmm.lib
26+
!else
27+
ADDED_LIBS = lib winmm.lib
28+
!endif
29+
EXTRA_LIB_CMD = -$(COPY) $(PDCNAME).lib panel.lib
30+
!else
2031
TARGET = dos
21-
2232
!ifeq MODEL f
2333
LTARGET = dos4g
2434
!else
2535
LTARGET = dos
2636
CFLAGS = -DCHTYPE_32
2737
!endif
38+
!endif
2839

2940
!ifdef CHTYPE_16 Y
3041
CFLAGS = -DCHTYPE_16

0 commit comments

Comments
 (0)