You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
695 B
Makefile
38 lines
695 B
Makefile
# 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 = dos
|
|
|
|
TARGET = dos
|
|
|
|
!ifeq MODEL f
|
|
LTARGET = dos4g
|
|
CFLAGS =
|
|
!else
|
|
LTARGET = dos
|
|
CFLAGS = -DCHTYPE_32
|
|
!endif
|
|
|
|
!include $(PDCURSES_SRCDIR)/common/watcom.mif
|
|
|
|
configure:
|
|
$(COPY) $(PDCURSES_SRCDIR)\common\config*.c cursconf.c
|
|
$(CC) $(CFLAGS) cursconf.c
|
|
$(LINK) $(LDFLAGS) name cursconf.exe file cursconf.obj
|
|
cursconf -v -d.. $(CFLAGS)
|
|
$(DEL) cursconf.*
|