1 # Watcom WMAKE Makefile for PDCurses library - DOS (16 bit) Watcom C/C++ 10.6+
3 # Usage: wmake -f [path\]wccdos16.mak [DEBUG=Y] [target]
5 # where target can be any of:
6 # [all|demos|pdcurses.lib|testcurs.exe...]
8 # Change the memory MODEL here, if desired
11 !ifdef %PDCURSES_SRCDIR
12 PDCURSES_SRCDIR
= $(%PDCURSES_SRCDIR
)
17 !include $(PDCURSES_SRCDIR
)\version.mif
19 osdir
= $(PDCURSES_SRCDIR
)\dos
24 CFLAGS
= /bt
=$(TARGET
) /zq
/wx
/m
$(MODEL
) /i
=$(PDCURSES_SRCDIR
)
27 CFLAGS
+= /d2
/DPDCDEBUG
28 LDFLAGS
= D W A op q sys
$(TARGET
)
31 LDFLAGS
= op q sys
$(TARGET
)
34 LIBEXE
= wlib
/q
/n
/t
36 !include $(PDCURSES_SRCDIR
)\watcom.mif
38 $(LIBCURSES
) : $(LIBOBJS
) $(PDCOBJS
)
39 %write wccdos.lrf
$(LIBOBJS
) $(PDCOBJS
)
40 $(LIBEXE
) $@ @wccdos.lrf
42 -copy
$(LIBCURSES
) panel.lib
44 PLATFORM1
= Watcom C
++ 16-bit DOS
45 PLATFORM2
= Open Watcom
1.6 for
16-bit DOS
46 ARCNAME
= pdc
$(VER
)16w
48 !include $(PDCURSES_SRCDIR
)\makedist.mif