Enable compilation without FEAT_MBYTE.
[MacVim/KaoriYa.git] / src / xxd / Make_bc3.mak
blobdee2521712806131faa7eebc62f040ab3bb33b26
1 # Simple makefile for Borland C++ 4.0
2 # 3.1 can NOT be used, it has problems with the fileno() define.
4 # Command line variables:
5 # BOR path to root of Borland C (E:\BORLANDC)
6 # DEBUG set to "yes" for debugging (no)
8 !ifndef BOR
9 BOR = e:\bc4
10 !endif
12 !if ("$(DEBUG)" == "yes")
13 DEBUG_FLAG = -v -DDEBUG
14 !else
15 DEBUG_FLAG =
16 !endif
18 CC = $(BOR)\bin\bcc
19 INC = -I$(BOR)\include
20 LIB = -L$(BOR)\lib
22 # The following compile options can be changed for better machines.
23 # replace -1- with -2 to produce code for a 80286 or higher
24 # replace -1- with -3 to produce code for a 80386 or higher
25 # add -v for source debugging
26 OPTIMIZE= -1- -Ox
28 CFLAGS = -A -mc -DMSDOS $(DEBUG_FLAG) $(OPTIMIZE) $(INC) $(LIB)
30 xxd.exe: xxd.c
31 $(CC) $(CFLAGS) xxd.c