drivers/wifi: Remove unnecessary data structure copy
[coreboot2.git] / payloads / libpayload / curses / PDCurses / dos / bccdos.mak
blobed7731ad1b7602bdf42c27a2ae8d9549a543385e
1 # Borland MAKE Makefile for PDCurses library - DOS BC++ 3.0+
3 # Usage: make -f [path\]bccdos.mak [DEBUG=] [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 O = obj
13 !ifndef PDCURSES_SRCDIR
14 PDCURSES_SRCDIR = ..
15 !endif
17 !include $(PDCURSES_SRCDIR)\version.mif
18 !include $(PDCURSES_SRCDIR)\libobjs.mif
20 osdir = $(PDCURSES_SRCDIR)\dos
22 !ifdef DEBUG
23 CFLAGS = -N -v -y -DPDCDEBUG
24 !else
25 CFLAGS = -O
26 !endif
28 CPPFLAGS = -I$(PDCURSES_SRCDIR)
30 BUILD = $(CC) -1- -K -G -rd -d -w-eff -w-par -c \
31 -m$(MODEL) $(CFLAGS) $(CPPFLAGS)
33 LIBEXE = tlib /C /E
35 LIBCURSES = pdcurses.lib
37 all: $(LIBCURSES) $(DEMOS)
39 clean:
40 -del *.obj
41 -del *.lib
42 -del *.map
43 -del *.exe
45 demos: $(DEMOS)
47 $(LIBCURSES) : $(LIBOBJS) $(PDCOBJS)
48 -del $@
49 $(LIBEXE) $@ @$(osdir)\bccdos.lrf
50 -copy $(LIBCURSES) panel.lib
52 .autodepend
54 {$(srcdir)\}.c.obj:
55 $(BUILD) $<
57 {$(osdir)\}.c.obj:
58 $(BUILD) $<
60 {$(demodir)\}.c.obj:
61 $(BUILD) $<
63 .c.obj:
64 $(BUILD) $<
66 .obj.exe:
67 $(CC) -m$(MODEL) -e$@ $** $(LIBCURSES)
69 tuidemo.exe: tuidemo.obj tui.obj $(LIBCURSES)
70 $(CC) -m$(MODEL) -e$@ $**
72 tui.obj: $(demodir)\tui.c $(demodir)\tui.h $(PDCURSES_CURSES_H)
73 $(BUILD) -I$(demodir) $(demodir)\tui.c
75 tuidemo.obj: $(demodir)\tuidemo.c $(PDCURSES_CURSES_H)
76 $(BUILD) -I$(demodir) $(demodir)\tuidemo.c
78 PLATFORM1 = Borland C++ 3.1
79 PLATFORM2 = Borland C/C++ 3.1 for DOS
80 ARCNAME = pdc$(VER)bcc
82 !include $(PDCURSES_SRCDIR)\makedist.mif