Skip to content
Snippets Groups Projects
Commit ccb771ae authored by deuce's avatar deuce
Browse files

New USE_UIFC32 makefile option... enable the use of the new

unified uifc (conio/curses)
parent 4fb6883a
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@
# Macros
#DEBUG = 1 # Comment out for release (non-debug) version
USE_FLTK= 1
USE_UIFC32= 1
CC = bcc32
LD = ilink32
SLASH = \\
......@@ -48,7 +49,12 @@ ODIR = $(ODIR).release
!include targets.mk # defines all targets
!include objects.mk # defines $(OBJS)
!ifdef USE_UIFC32
OBJS = $(OBJS) $(ODIR)\uifc32.$(OFILE)
CFLAGS = $(CFLAGS) -DUSE_UIFC32
!else
OBJS = $(OBJS) $(ODIR)\uifc.$(OFILE)
!endif
!ifdef USE_FLTK
CFLAGS = $(CFLAGS) -DUSE_FLTK -I$(INCLUDE)\fltk
......
......@@ -210,11 +210,15 @@ else
if(!door_mode)
i=uifcinid(&uifc); /* dialog */
else
#elif defined(USE_UIFC32)
if(!door_mode)
i=uifcini32(&uifc); /* curses/conio */
else
#elif defined(USE_CURSES)
if(!door_mode)
i=uifcinic(&uifc); /* curses */
else
#elif !defined(__unix__) && !defined(_MSC_VER)
#elif !defined(__unix__) && !defined(_MSC_VER) && !defined(USE_UIFC32)
if(!door_mode)
i=uifcini(&uifc); /* conio */
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment