diff options
Diffstat (limited to 'systems/msdos/tx/src/makefile.gcc')
-rw-r--r-- | systems/msdos/tx/src/makefile.gcc | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/systems/msdos/tx/src/makefile.gcc b/systems/msdos/tx/src/makefile.gcc new file mode 100644 index 0000000000..be5759166e --- /dev/null +++ b/systems/msdos/tx/src/makefile.gcc @@ -0,0 +1,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 |