1 # Common elements for the Watcom makefiles
3 srcdir = $(PDCURSES_SRCDIR)\pdcurses
4 demodir = $(PDCURSES_SRCDIR)\demos
6 LIBOBJS = addch.obj addchstr.obj addstr.obj attr.obj beep.obj bkgd.obj &
7 border.obj clear.obj color.obj delch.obj deleteln.obj deprec.obj &
8 getch.obj getstr.obj getyx.obj inch.obj inchstr.obj initscr.obj inopts.obj &
9 insch.obj insstr.obj instr.obj kernel.obj keyname.obj mouse.obj move.obj &
10 outopts.obj overlay.obj pad.obj panel.obj printw.obj refresh.obj &
11 scanw.obj scr_dump.obj scroll.obj slk.obj termattr.obj terminfo.obj &
12 touch.obj util.obj window.obj debug.obj
14 PDCOBJS = pdcclip.obj pdcdisp.obj pdcgetsc.obj pdckbd.obj pdcscrn.obj &
15 pdcsetsc.obj pdcutil.obj
17 DEMOS = testcurs.exe newdemo.exe xmas.exe tuidemo.exe firework.exe &
18 ptest.exe rain.exe worm.exe
20 LIBCURSES = pdcurses.lib
26 ! loaddll wcc386 wccd386
31 all: $(LIBCURSES) $(DEMOS)
41 .c: $(srcdir);$(osdir);$(demodir)
46 $(LINK) $(LDFLAGS) n $@ f $*.obj l $(LIBCURSES)
48 testcurs.exe: testcurs.obj $(LIBCURSES)
49 newdemo.exe: newdemo.obj $(LIBCURSES)
50 xmas.exe: xmas.obj $(LIBCURSES)
51 firework.exe: firework.obj $(LIBCURSES)
52 rain.exe: rain.obj $(LIBCURSES)
53 worm.exe: worm.obj $(LIBCURSES)
54 ptest.exe: ptest.obj $(LIBCURSES)
56 tuidemo.exe: tuidemo.obj tui.obj $(LIBCURSES)
57 $(LINK) $(LDFLAGS) n $@ f tuidemo.obj f tui.obj l $(LIBCURSES)