drivers/wifi: Remove unnecessary data structure copy
[coreboot2.git] / payloads / libpayload / curses / PDCurses / win32 / bccwin32.mak
blob229ab4be5c4c7c7d532add62354903acdf7dd13e
1 # Borland MAKE Makefile for PDCurses library - Win32 BC++ 4.0+
3 # Usage: make -f [path\]bccwin32.mak [DEBUG=] [WIDE=] [UTF8=] [target]
5 # where target can be any of:
6 # [all|demos|pdcurses.lib|testcurs.exe...]
8 O = obj
10 !ifndef PDCURSES_SRCDIR
11 PDCURSES_SRCDIR = ..
12 !endif
14 !include $(PDCURSES_SRCDIR)\version.mif
15 !include $(PDCURSES_SRCDIR)\libobjs.mif
17 osdir = $(PDCURSES_SRCDIR)\win32
19 CC = bcc32 -q
21 !ifdef DEBUG
22 CFLAGS = -N -v -y -DPDCDEBUG
23 !else
24 CFLAGS = -O
25 !endif
27 !ifdef WIDE
28 WIDEOPT = -DPDC_WIDE
29 !endif
31 !ifdef UTF8
32 UTF8OPT = -DPDC_FORCE_UTF8
33 !endif
35 BUILD = $(CC) -I$(PDCURSES_SRCDIR) -c -Tpe -w32 $(CFLAGS) -w-par \
36 $(WIDEOPT) $(UTF8OPT)
38 LIBEXE = tlib /C /E /0 /a
40 LIBCURSES = pdcurses.lib
42 all: $(LIBCURSES) $(DEMOS)
44 clean:
45 -del *.obj
46 -del *.lib
47 -del *.tds
48 -del *.exe
50 $(LIBCURSES) : $(LIBOBJS) $(PDCOBJS)
51 -del $@
52 $(LIBEXE) $@ $(LIBOBJS) $(PDCOBJS)
53 -copy $(LIBCURSES) panel.lib
55 .autodepend
57 {$(srcdir)\}.c.obj:
58 $(BUILD) $<
60 {$(osdir)\}.c.obj:
61 $(BUILD) $<
63 {$(demodir)\}.c.obj:
64 $(BUILD) $<
66 .c.obj:
67 $(BUILD) $<
69 .obj.exe:
70 $(CC) -e$@ $** $(LIBCURSES)
72 tuidemo.exe: tuidemo.obj tui.obj $(LIBCURSES)
73 $(CC) -e$@ $**
75 tui.obj: $(demodir)\tui.c $(demodir)\tui.h $(PDCURSES_CURSES_H)
76 $(BUILD) -I$(demodir) $(demodir)\tui.c
78 tuidemo.obj: $(demodir)\tuidemo.c $(PDCURSES_CURSES_H)
79 $(BUILD) -I$(demodir) $(demodir)\tuidemo.c
81 PLATFORM1 = Borland C++ Win32
82 PLATFORM2 = Borland C/C++ 5.5 for Win32
83 ARCNAME = pdc$(VER)_bcc_w32
85 !include $(PDCURSES_SRCDIR)\makedist.mif