configured for free Borland command line tools as the default.
This commit is contained in:
@@ -50,7 +50,8 @@ OBJS = $(SRCS:.c=.obj)
|
|||||||
# Compiler definitions
|
# Compiler definitions
|
||||||
#
|
#
|
||||||
CC = $(BORLAND_DIR)\bin\bcc32 +bcc32.cfg
|
CC = $(BORLAND_DIR)\bin\bcc32 +bcc32.cfg
|
||||||
LINK = $(BORLAND_DIR)\bin\tlink32
|
#LINK = $(BORLAND_DIR)\bin\tlink32
|
||||||
|
LINK = $(BORLAND_DIR)\bin\ilink32
|
||||||
TLIB = $(BORLAND_DIR)\bin\tlib
|
TLIB = $(BORLAND_DIR)\bin\tlib
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -65,8 +66,6 @@ CFLAGS = $(INCL_DIRS) $(CS_FLAGS) $(DEFINES)
|
|||||||
#
|
#
|
||||||
C_LIB_DIR = $(BORLAND_DIR)\lib
|
C_LIB_DIR = $(BORLAND_DIR)\lib
|
||||||
|
|
||||||
LIBDIR = $(C_LIB_DIR)
|
|
||||||
|
|
||||||
LIBS = $(C_LIB_DIR)\IMPORT32.lib \
|
LIBS = $(C_LIB_DIR)\IMPORT32.lib \
|
||||||
$(C_LIB_DIR)\CW32MT.lib
|
$(C_LIB_DIR)\CW32MT.lib
|
||||||
|
|
||||||
@@ -84,7 +83,7 @@ all : bcc32.cfg $(PRODUCT_EXE)
|
|||||||
# need a temp response file (@&&) because command line is too long
|
# need a temp response file (@&&) because command line is too long
|
||||||
$(PRODUCT_EXE) : $(OBJS)
|
$(PRODUCT_EXE) : $(OBJS)
|
||||||
@echo Running Linker for $(PRODUCT_EXE)
|
@echo Running Linker for $(PRODUCT_EXE)
|
||||||
$(LINK) -L$(LINKER_LIB) -m -c -s -v @&&| # temp response file, starts with |
|
$(LINK) -L$(C_LIB_DIR) -m -c -s -v @&&| # temp response file, starts with |
|
||||||
$(BORLAND_DIR)\lib\c0x32.obj $** # $** lists each dependency
|
$(BORLAND_DIR)\lib\c0x32.obj $** # $** lists each dependency
|
||||||
$<
|
$<
|
||||||
$*.map
|
$*.map
|
||||||
|
|||||||
@@ -0,0 +1,15 @@
|
|||||||
|
BACnet Stack - Win32
|
||||||
|
|
||||||
|
This directory contains a demo program that compiles with a Win32 compiler.
|
||||||
|
It was tested with the freely downloadable Borland C++ 5.5, as well as
|
||||||
|
Borland C++ 5 and Visual C++ 6.0.
|
||||||
|
|
||||||
|
The makefile.mak file is used with the Borland command line tools.
|
||||||
|
Run setvars.bat to configure the environment for the Borland tools.
|
||||||
|
Edit it if necessary to set the correct location of your tools.
|
||||||
|
|
||||||
|
The bacnet.ide file is used with the Borland IDE.
|
||||||
|
|
||||||
|
The bacnet directory is used with Visual C++ 6 tools, and there is a
|
||||||
|
workspace file bacnet.dsw that is used to compile the demo program.
|
||||||
|
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
set BORLAND_DIR=\bc5
|
set BORLAND_DIR=\bcc55
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user