drivers/wifi: Remove unnecessary data structure copy
[coreboot2.git] / payloads / libpayload / curses / PDCurses / win32 / wccwin32.mak
blob1363897be0166f9eb4475bf9654b8bfc4c63ae5f
1 # Watcom WMAKE Makefile for PDCurses library - Win32 Watcom C/C++ 10.6+
3 # Usage: wmake -f [win32\]wccwin32.mak [DEBUG=Y] [WIDE=Y] [UTF8=Y] [target]
5 # where target can be any of:
6 # [all|demos|pdcurses.lib|testcurs.exe...]
8 !ifdef %PDCURSES_SRCDIR
9 PDCURSES_SRCDIR = $(%PDCURSES_SRCDIR)
10 !else
11 PDCURSES_SRCDIR = ..
12 !endif
14 !include $(PDCURSES_SRCDIR)\version.mif
16 osdir = $(PDCURSES_SRCDIR)\win32
18 CC = wcc386
19 TARGET = nt
21 CFLAGS = /ei /zq /wx /i=$(PDCURSES_SRCDIR)
23 !ifeq DEBUG Y
24 CFLAGS += /d2 /DPDCDEBUG
25 LDFLAGS = D W A op q sys $(TARGET)
26 !else
27 CFLAGS += /oneatx
28 LDFLAGS = op q sys $(TARGET)
29 !endif
31 !ifeq WIDE Y
32 CFLAGS += /DPDC_WIDE
33 !endif
35 !ifeq UTF8 Y
36 CFLAGS += /DPDC_FORCE_UTF8
37 !endif
39 LIBEXE = wlib /q /n /t
41 !include $(PDCURSES_SRCDIR)\watcom.mif
43 $(LIBCURSES) : $(LIBOBJS) $(PDCOBJS)
44 $(LIBEXE) $@ $(LIBOBJS) $(PDCOBJS)
45 -copy $(LIBCURSES) panel.lib
47 PLATFORM1 = Watcom C++ Win32
48 PLATFORM2 = Open Watcom 1.6 for Win32
49 ARCNAME = pdc$(VER)_wcc_w32
51 !include $(PDCURSES_SRCDIR)\makedist.mif