summaryrefslogtreecommitdiff
path: root/systems/msdos/tx/src/makefile.gcc
blob: be5759166e23e061b8b857e0cda2eaeccda4a321 (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
37
# Makefile for gcc/djgpp version 2.6.3
# tx is not particularly efficient when compiled with gcc
# because the go32 extender takes up a lot of dos memory
CC = gcc
CFLAGS = -O2 -Wall -Ic:/djgpp/include
LDFLAGS = -s
LIBS = -Lc:/djgpp/lib -lpc
AS = as
LINK = gcc 
STRIP = strip

all: tx.exe

OBJECTS =  \
  frame.o \
  tx.o \
  txcomm.o \
  txdir.o \
  txexpand.o \
  txmain.o \
  txmenu.o \
  txprompt.o

all: tx.exe

tx: $(OBJECTS)
	$(CC) $(CFLAGS) $(LDFLAGS) -o tx $(OBJECTS) $(LIBS)

tx.exe: tx
	coff2exe tx

clean: 
	rm -f *.o

veryclean: 
	rm -f *.o
	rm -f tx tx.exe