|
|
1.1 ! root 1: ########################################################################### ! 2: # This program is Copyright (C) 1986, 1987, 1988 by Jonathan Payne. JOVE # ! 3: # is provided to you without charge, and with no warranty. You may give # ! 4: # away copies of JOVE, including sources, provided that this notice is # ! 5: # included in all the files. # ! 6: ########################################################################### ! 7: ! 8: MEM = L # M for medium or L for large ! 9: DEB = -Gs -Ot # use -Zi and MEM = M for debugging ! 10: # ! 11: # define LINT_ARGS to use function prototypes ! 12: # ! 13: CFLAGS = -A$(MEM) -J -Zp $(DEB) -DIBMPC ! 14: LIB = M:\LIB ! 15: # ! 16: # linker flags: for debugging use /NOE/NOI/F/B/PAC/CO/STACK:0x2000 ! 17: # ! 18: LDFLAGS = /NOE/NOI/MAP/F/B/E/PAC/STACK:0x2000 ! 19: # ! 20: # set VPATH as below if you have sources in SRC ! 21: # ! 22: SRC = . ! 23: # VPATH = .;.. # should read .;$(SRC) - but doesn't work ! 24: ! 25: OBJECTS = keys.obj funcdefs.obj abbrev.obj ask.obj buf.obj c.obj \ ! 26: case.obj ctype.obj delete.obj extend.obj argcount.obj \ ! 27: insert.obj io.obj jove.obj macros.obj marks.obj misc.obj move.obj \ ! 28: paragrap.obj proc.obj re.obj re1.obj scandir.obj \ ! 29: list.obj keymaps.obj tune.obj util.obj vars.obj wind.obj \ ! 30: fmt.obj disp.obj term.obj version.obj fp.obj screen.obj getch.obj \ ! 31: pcscr.obj ! 32: ! 33: HEADERS = ctype.h io.h jove.h re.h list.h temp.h termcap.h tune.h externs.h ! 34: ! 35: jove.exe: $(OBJECTS) $(HEADERS) ! 36: link $(OBJECTS) $(LIB)\setargv,xjove $(LDFLAGS); ! 37: ! 38: $(OBJECTS): $(HEADERS) ! 39: ! 40: setmaps.exe: setmaps.obj funcdefs.c ! 41: cl setmaps.obj ! 42: ! 43: setmaps.obj: funcdefs.c keys.txt ! 44: cl $(CFLAGS) $(SRC)\setmaps.c ! 45: ! 46: keys.c: setmaps.exe keys.txt ! 47: setmaps < keys.txt > keys.c ! 48: ! 49: keys.obj: keys.c jove.h ! 50: $(CC) $(CFLAGS) -I$(SRC) -c keys.c ! 51: ! 52: # to avoid accidental loss under unix ! 53: tune.c: tune.dos ! 54: copy tune.dos tune.c ! 55: ! 56: tune.obj: tune.c ! 57: $(CC) $(CFLAGS) -I$(SRC) -c tune.c ! 58: ! 59: clean: ! 60: -rm *.obj setmaps.exe keys.c *.bak *.map
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.