annotate src/xxd/Make_bc3.mak @ 6493:45ff9dd354ea v7.4.574

updated for version 7.4.574 Problem: No error for eval('$'). Solution: Check for empty name. (Yasuhiro Matsumoto)
author Bram Moolenaar <bram@vim.org>
date Wed, 14 Jan 2015 17:15:05 +0100
parents 3fc0f57ecb91
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 # Simple makefile for Borland C++ 4.0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 # 3.1 can NOT be used, it has problems with the fileno() define.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 # Command line variables:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 # BOR path to root of Borland C (E:\BORLANDC)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 # DEBUG set to "yes" for debugging (no)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 !ifndef BOR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 BOR = e:\bc4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 !if ("$(DEBUG)" == "yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 DEBUG_FLAG = -v -DDEBUG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 DEBUG_FLAG =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 CC = $(BOR)\bin\bcc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 INC = -I$(BOR)\include
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 LIB = -L$(BOR)\lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 # The following compile options can be changed for better machines.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 # replace -1- with -2 to produce code for a 80286 or higher
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 # replace -1- with -3 to produce code for a 80386 or higher
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 # add -v for source debugging
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 OPTIMIZE= -1- -Ox
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 CFLAGS = -A -mc -DMSDOS $(DEBUG_FLAG) $(OPTIMIZE) $(INC) $(LIB)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 xxd.exe: xxd.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 $(CC) $(CFLAGS) xxd.c