annotate src/xxd/Make_bc3.mak @ 7801:a1e71a01dbd6 v7.4.1197

commit https://github.com/vim/vim/commit/d25c16e2f2776d50245bf31d6e4d5364f12d188e Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jan 29 22:13:30 2016 +0100 patch 7.4.1197 Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
author Christian Brabandt <cb@256bit.org>
date Fri, 29 Jan 2016 22: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