summaryrefslogtreecommitdiff
path: root/systems/msdos/tx/src/makefile
blob: e87f3698c90b41e8777174d0d5f2e2efb9962ccf (plain)
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
# Makefile for Borland C++ version 2.0
# Should work with any Borland C or Turbo C.
# Check the include and library paths below.
# Ignore warnings about possibly incorrect assignments
CC = bcc 
LINK = tlink
STRIP = tdstrip
RM = del

.c.obj:
  $(CC) -ms -O -Z -Ic:\bc\include -c $<

OBJ_FILES =  \
  frame.obj \
  tx.obj \
  txcomm.obj \
  txdir.obj \
  txexpand.obj \
  txmain.obj \
  txmenu.obj \
  txprompt.obj

all: tx.exe

tx.exe: $(OBJ_FILES)
	$(LINK) /x/c/Lc:\bc\lib @tx.rsp

strip: tx.exe
	-$(STRIP) tx.exe

clean: 
	-$(RM) *.obj

veryclean: 
	-$(RM) *.obj
	-$(RM) tx.exe