view src/xxd/Make_bc3.mak @ 7697:f04e2b6feea2 v7.4.1147

commit https://github.com/vim/vim/commit/88e8f9f14434a7cd538d0c159dc432bea869a5bd Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 20 22:48:02 2016 +0100 patch 7.4.1147 Problem: Conflict for "chartab". (Kazunobu Kuriyama) Solution: Rename the global one to something less obvious. Move it into src/chartab.c.
author Christian Brabandt <cb@256bit.org>
date Wed, 20 Jan 2016 23:00:12 +0100
parents 3fc0f57ecb91
children
line wrap: on
line source

# Simple makefile for Borland C++ 4.0
# 3.1 can NOT be used, it has problems with the fileno() define.

# Command line variables:
# BOR		path to root of Borland C (E:\BORLANDC)
# DEBUG		set to "yes" for debugging (no)

!ifndef BOR
BOR	= e:\bc4
!endif

!if ("$(DEBUG)" == "yes")
DEBUG_FLAG = -v -DDEBUG
!else
DEBUG_FLAG =
!endif

CC	= $(BOR)\bin\bcc
INC	= -I$(BOR)\include
LIB	= -L$(BOR)\lib

# The following compile options can be changed for better machines.
#	replace -1- with -2 to produce code for a 80286 or higher
#	replace -1- with -3 to produce code for a 80386 or higher
#	add -v for source debugging
OPTIMIZE= -1- -Ox

CFLAGS	= -A -mc -DMSDOS $(DEBUG_FLAG) $(OPTIMIZE) $(INC) $(LIB)

xxd.exe: xxd.c
	$(CC) $(CFLAGS) xxd.c