iw4x-client/deps/pdcurses/dos/Makefile.wcc

36 lines
642 B
Makefile
Raw Normal View History

2024-03-07 05:13:50 -05:00
# Watcom Makefile for PDCurses - DOS
#
# Usage: wmake -f [path\]Makefile.wcc [DEBUG=Y] [MODEL=c|h|l|m|s|f] [target]
#
# where target can be any of:
# [all|demos|pdcurses.lib|testcurs.exe...]
!ifndef MODEL
MODEL = l
!endif
!ifdef %PDCURSES_SRCDIR
PDCURSES_SRCDIR = $(%PDCURSES_SRCDIR)
!else
PDCURSES_SRCDIR = ..
!endif
osdir = $(PDCURSES_SRCDIR)/dos
!ifeq MODEL f
CC = wcc386
TARGET = dos4g
!else
CC = wcc
TARGET = dos
!endif
CFLAGS = -bt=$(TARGET) -m$(MODEL)
!include $(PDCURSES_SRCDIR)/common/watcom.mif
$(LIBCURSES) : $(LIBOBJS) $(PDCOBJS)
%write wccdos.lrf $(LIBOBJS) $(PDCOBJS)
$(LIBEXE) $@ @wccdos.lrf
-$(RM) wccdos.lrf