mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-23 15:25:01 +00:00
Added a few more PDCURSES_SRCDIRs, and took out a few unneeded CC_HOMEs.
More of these to do.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
# Change these for your environment...
|
||||
#
|
||||
################################################################################
|
||||
PDCURSES_HOME =c:\curses
|
||||
PDCURSES_HOME =$(PDCURSES_SRCDIR)
|
||||
CC_HOME =c:\c
|
||||
MODEL =l
|
||||
################################################################################
|
||||
|
||||
@@ -13,17 +13,10 @@
|
||||
#
|
||||
# PDCURSES_HOME = .. works in the 'dos' directory except for 'dist' rule
|
||||
# PDC_HOME is the backslashed version of PDCURSES_HOME, generated automatically
|
||||
# CC_HOME should be set automatically if you are running DJGPP make
|
||||
#
|
||||
################################################################################
|
||||
PDCURSES_HOME = c:/projects/pdcurses
|
||||
PDCURSES_HOME = $(PDCURSES_SRCDIR)
|
||||
PDC_HOME = $(subst /,\,$(PDCURSES_HOME))
|
||||
|
||||
ifdef DJDIR
|
||||
CC_HOME = $(DJDIR)
|
||||
else
|
||||
CC_HOME = c:/djgpp
|
||||
endif
|
||||
################################################################################
|
||||
# Nothing below here should require changing.
|
||||
################################################################################
|
||||
@@ -35,9 +28,6 @@ PDCURSES_CURSPRIV_H =$(PDCURSES_HOME)/curspriv.h
|
||||
PDCURSES_HEADERS =$(PDCURSES_CURSES_H) $(PDCURSES_CURSPRIV_H)
|
||||
PANEL_HEADER =$(PDCURSES_HOME)/panel.h
|
||||
|
||||
CCLIBDIR =$(CC_HOME)/lib
|
||||
CCINCDIR =$(CC_HOME)/include
|
||||
|
||||
srcdir = $(PDCURSES_HOME)/pdcurses
|
||||
osdir = $(PDCURSES_HOME)/dos
|
||||
pandir = $(PDCURSES_HOME)/panel
|
||||
@@ -53,7 +43,7 @@ else
|
||||
LDFLAGS =
|
||||
endif
|
||||
|
||||
CPPFLAGS = -I$(PDCURSES_HOME) -I$(CCINCDIR) -D_NAIVE_DOS_REGS -funsigned-char
|
||||
CPPFLAGS = -I$(PDCURSES_HOME) -D_NAIVE_DOS_REGS -funsigned-char
|
||||
|
||||
CCFLAGS = $(CFLAGS) $(CPPFLAGS)
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
# Change these for your environment...
|
||||
#
|
||||
################################################################################
|
||||
PDCURSES_HOME =c:\curses
|
||||
PDCURSES_HOME =$(%PDCURSES_SRCDIR)
|
||||
CCINCDIR =k:\h
|
||||
################################################################################
|
||||
# Nothing below here should require changing.
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
# Change these for your environment...
|
||||
#
|
||||
################################################################################
|
||||
PDCURSES_HOME =c:\curses
|
||||
PDCURSES_HOME =$(%PDCURSES_SRCDIR)
|
||||
CCINCDIR =k:\h
|
||||
################################################################################
|
||||
# Nothing below here should require changing.
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
# Change these for your environment...
|
||||
#
|
||||
################################################################################
|
||||
PDCURSES_HOME =d:/pdcurses/pdcurses
|
||||
CC_HOME =c:/mingw32
|
||||
PDCURSES_HOME =$(PDCURSES_SRCDIR)
|
||||
################################################################################
|
||||
# Nothing below here should require changing.
|
||||
################################################################################
|
||||
@@ -23,9 +22,6 @@ PDCURSES_CURSPRIV_H =$(PDCURSES_HOME)/curspriv.h
|
||||
PDCURSES_HEADERS =$(PDCURSES_CURSES_H) $(PDCURSES_CURSPRIV_H)
|
||||
PANEL_HEADER =$(PDCURSES_HOME)/panel.h
|
||||
|
||||
CCLIBDIR =$(CC_HOME)/lib
|
||||
CCINCDIR =$(CC_HOME)/include
|
||||
|
||||
srcdir = $(PDCURSES_HOME)/pdcurses
|
||||
osdir = $(PDCURSES_HOME)/win32
|
||||
pandir = $(PDCURSES_HOME)/panel
|
||||
@@ -41,14 +37,14 @@ else
|
||||
LDFLAGS =
|
||||
endif
|
||||
|
||||
CPPFLAGS = -I$(PDCURSES_HOME) -I$(CCINCDIR)
|
||||
CPPFLAGS = -I$(PDCURSES_HOME)
|
||||
|
||||
CCFLAGS = $(CFLAGS) $(CPPFLAGS)
|
||||
|
||||
LINK = gcc
|
||||
COFF2EXE =coff2exe $*
|
||||
|
||||
CCLIBS = -L$(CCLIBDIR) -lkernel32 -luser32
|
||||
CCLIBS = -lkernel32 -luser32
|
||||
|
||||
LIBEXE = ar
|
||||
LIBFLAGS =rcv
|
||||
|
||||
Reference in New Issue
Block a user