configured for free Borland command line tools as the default.

This commit is contained in:
skarg
2006-01-01 21:33:01 +00:00
parent 0de4bcd4d8
commit 96091fd6f4
3 changed files with 19 additions and 5 deletions
+3 -4
View File
@@ -50,7 +50,8 @@ OBJS = $(SRCS:.c=.obj)
# Compiler definitions
#
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
#
@@ -65,8 +66,6 @@ CFLAGS = $(INCL_DIRS) $(CS_FLAGS) $(DEFINES)
#
C_LIB_DIR = $(BORLAND_DIR)\lib
LIBDIR = $(C_LIB_DIR)
LIBS = $(C_LIB_DIR)\IMPORT32.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
$(PRODUCT_EXE) : $(OBJS)
@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
$<
$*.map
+15
View File
@@ -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 -1
View File
@@ -1,2 +1,2 @@
set BORLAND_DIR=\bc5
set BORLAND_DIR=\bcc55