File: mk_bc3.mak

package info (click to toggle)
exuberant-ctags 1%3A5.2.2-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,060 kB
  • ctags: 2,074
  • sloc: ansic: 14,358; makefile: 150; sh: 59
file content (46 lines) | stat: -rw-r--r-- 1,018 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# $Id: mk_bc3.mak,v 1.1 2001/11/02 04:53:43 darren Exp $
#
# Simple makefile for Borland C++ 3.1

!include source.mak

# Adjust the paths to your location of the borland C files
BCCLOC  = c:\borlandc
CC	= $(BCCLOC)\bin\bcc
INC	= -I$(BCCLOC)\include
LIB	= -L$(BCCLOC)\lib

# Add this file for wildcard expansion (does NOT work with 4.0!)
#EXTRA   =   $(BCCLOC)\lib\wildargs.obj

# 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- -O1

CFLAGS	= -DMSDOS -ml -d -w-ccc -w-par -w-pia -w-rch -w-sus $(INC)
LFLAGS	= $(LIB) $(EXTRA)
EXTRA_LIBS =

ctags.exe: $(SOURCES) respbc3
	$(CC) $(OPTIMIZE) -e$@ @respbc3

debug: dctags.exe

dctags.exe: $(SOURCES) respbc3 debug.c
	$(CC) -DDEBUG -v -e$@ @respbc3 debug.c

respbc3: makefile.bc3
	copy &&|
$(CFLAGS)
$(LFLAGS)
$(SOURCES)
$(EXTRA_LIBS)
| $@

clean:
	del *.exe
	del *.obj
	del respbc3
	del tags