xaizek / vifm-pdcurses (License: mostly public domain) (since 2019-03-20)
PDCurses 3.4 with vifm-specific patches applied (a couple were upstreamed)
<root> / common / watcom.mif (08f44f3bb370cd1ae68d65f55f653bd68f919806) (1,748B) (mode 100644) [raw]
# Common elements for the Watcom makefiles

CFLAGS += -wx -zq -i=$(PDCURSES_SRCDIR)

!ifeq DEBUG Y
CFLAGS		+= -d2 -DPDCDEBUG
LDFLAGS		= D W A op q sys $(TARGET)
!else
CFLAGS		+= -oneatx
LDFLAGS		= op q sys $(TARGET)
!endif

RM		= del
LIBEXE		= wlib -q -n -b -c -t

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 &
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 &
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 &
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)

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

demos:	$(DEMOS)

.c: $(srcdir);$(osdir);$(demodir)
.c.obj: .autodepend
	$(CC) $(CFLAGS) $<

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

testcurs.exe:	testcurs.obj $(LIBCURSES)
ozdemo.exe:	ozdemo.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
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/vifm-pdcurses

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/vifm-pdcurses

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master