Sha256: b3f3d7aeecee267f62fe92f7a136e933a6d52d24ac7291580ae025717e336be1

Contents?: true

Size: 1.66 KB

Versions: 8

Compression:

Stored size: 1.66 KB

Contents

# Common elements for the Watcom makefiles

!ifeq CROSS Y
DEL		= rm -f
COPY		= cp
!else
DEL		= del
COPY		= copy
!endif

srcdir = $(PDCURSES_SRCDIR)/pdcurses
demodir = $(PDCURSES_SRCDIR)/demos

LIBOBJS = addch.obj addchstr.obj addstr.obj attr.obj beep.obj bkgd.obj &
border.obj clear.obj color.obj delch.obj deleteln.obj deprec.obj &
getch.obj getstr.obj getyx.obj inch.obj inchstr.obj initscr.obj inopts.obj &
insch.obj insstr.obj instr.obj kernel.obj keyname.obj mouse.obj move.obj &
outopts.obj overlay.obj pad.obj panel.obj printw.obj refresh.obj &
scanw.obj scr_dump.obj scroll.obj slk.obj termattr.obj terminfo.obj &
touch.obj util.obj window.obj debug.obj

PDCOBJS = pdcclip.obj pdcdisp.obj pdcgetsc.obj pdckbd.obj pdcscrn.obj &
pdcsetsc.obj pdcutil.obj

DEMOS = testcurs.exe ozdemo.exe xmas.exe tuidemo.exe firework.exe &
newtest.exe ptest.exe rain.exe worm.exe

LIBCURSES = pdcurses.lib

LINK = wlink

!ifdef __LOADDLL__
! loaddll wcc    wccd
! loaddll wcc386 wccd386
! loaddll wlink  wlinkd
! loaddll wlib   wlibd
!endif

all:	$(LIBCURSES) $(DEMOS)

clean
	-$(DEL) *.obj
	-$(DEL) *.lib
	-$(DEL) *.exe
	-$(DEL) *.err

demos:	$(DEMOS)

.c: $(srcdir);$(osdir);$(demodir)
.c.obj: .autodepend
	$(CC) $(CFLAGS) -fo=$@ $<

.obj.exe:
	$(LINK) $(LDFLAGS) n $@ f $*.obj l $(LIBCURSES)

testcurs.exe:	testcurs.obj $(LIBCURSES)
ozdemo.exe:	ozdemo.obj $(LIBCURSES)
newtest.exe:	newtest.obj $(LIBCURSES)
xmas.exe:	xmas.obj $(LIBCURSES)
firework.exe:	firework.obj $(LIBCURSES)
rain.exe:	rain.obj $(LIBCURSES)
worm.exe:	worm.obj $(LIBCURSES)
ptest.exe:	ptest.obj $(LIBCURSES)

tuidemo.exe:	tuidemo.obj tui.obj $(LIBCURSES)
	$(LINK) $(LDFLAGS) n $@ f tuidemo.obj f tui.obj l $(LIBCURSES)

dist: .symbolic

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
curses-1.4.7 vendor/PDCurses/watcom.mif
curses-1.4.5 vendor/PDCurses/watcom.mif
curses-1.4.4 vendor/PDCurses/watcom.mif
curses-1.4.4.beta.1 vendor/PDCurses/watcom.mif
curses-1.4.3 vendor/PDCurses/watcom.mif
curses-1.4.2 vendor/PDCurses/watcom.mif
curses-1.4.1 vendor/PDCurses/watcom.mif
curses-1.4.0 vendor/PDCurses/watcom.mif