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 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
|
.noautodepend
# MS-DOS Makefile for Joe's Own Editor
###############
# Configuration
###############
# Set where you want joe to go, where you
# want joe's initialization file (joerc)
# to go and where you want the man page
# to go:
WHEREJOE = /bin
WHERERC = /lib
WHEREMAN = /usr/man/man1
# You may also have to add some additional
# defines to get the include files to work
# right on some systems.
#
# for some HPUX systems, you need to add: -D_HPUX_SOURCE
CFLAGS = -ml -w- -O2
# You may have to include some extra libraries
# for some systems
#
# for Xenix, add (in this order!!): -ldir -lx
#
# For some systems you might have to add: -lbsd
# to get access to the timer system calls.
#
# If you wish to use terminfo, you have to
# add '-ltinfo', '-lcurses' or '-ltermlib',
# depending on the system.
EXTRALIBS =
# Object files
OBJS = b.obj blocks.obj bw.obj cmd.obj hash.obj help.obj kbd.obj macro.obj \
main.obj menu.obj path.obj poshist.obj pw.obj queue.obj qw.obj random.obj \
rc.obj regex.obj msscrn.obj tab.obj mstty.obj tw.obj ublock.obj \
uedit.obj uerror.obj ufile.obj uformat.obj uisrch.obj umath.obj undo.obj \
usearch.obj ushell.obj utag.obj va.obj vfile.obj vs.obj w.obj zstr.obj
CC = bcc
# That's it!
joe: $(OBJS)
bcc -ejoe.exe -ml *.obj
copy joe.exe jmacs.exe
copy joe.exe jstar.exe
copy joe.exe jpico.exe
copy joe.exe rjoe.exe
# $(OBJS): config.h
config.h:
bcc -ml conf.c
del conf.obj
conf $(WHERERC) $(IDLEOUT)
termidx: termidx.o
$(CC) $(CFLAGS) -otermidx termidx.o
clean:
rm -f $(OBJS) termidx.o conf conf.o config.h
|