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