drivers/wifi: Remove unnecessary data structure copy
[coreboot2.git] / payloads / libpayload / curses / PDCurses / dos / wccdos16.mak
bloba0cbb223274f3a700b792954e847948b756a1c5f
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
9 MODEL = l
11 !ifdef %PDCURSES_SRCDIR
12 PDCURSES_SRCDIR = $(%PDCURSES_SRCDIR)
13 !else
14 PDCURSES_SRCDIR = ..
15 !endif
17 !include $(PDCURSES_SRCDIR)\version.mif
19 osdir = $(PDCURSES_SRCDIR)\dos
21 CC = wcc
22 TARGET = dos
24 CFLAGS = /bt=$(TARGET) /zq /wx /m$(MODEL) /i=$(PDCURSES_SRCDIR)
26 !ifeq DEBUG Y
27 CFLAGS += /d2 /DPDCDEBUG
28 LDFLAGS = D W A op q sys $(TARGET)
29 !else
30 CFLAGS += /oneatx
31 LDFLAGS = op q sys $(TARGET)
32 !endif
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
41 -del 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