home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
CMDS
/
memacs400_src.lzh
/
MEMACS400
/
SRC
/
Makefile
< prev
next >
Wrap
Makefile
|
1996-05-03
|
3KB
|
107 lines
# OS-9 makefile for
# MicroEMACS 4.0
# (C)Copyright 1995 by Daniel Lawrence
# all rights reserved
# modify the following lines with the proper relative directories
# object file directory
RDIR = ../rels
# source file directory
SDIR = ../src
# header file directory
HDIR = ../h
ODIR = /h0/cmds
CC=cc
# options and arguments to the C compiler
CFLAGS= -w=/h0/lib -t=/r0 -v=$(HDIR) -v=/h0/defs/cgfx -ix -q # -g
LFLAGS = -l=/h0/lib/os9lib.l -l=/h0/lib/termlib.l -l=/h0/lib/cgfx.l # -M=20k -g
# list of header files
HFILES = $(HDIR)/estruct.h $(HDIR)/edef.h $(HDIR)/efunc.h $(HDIR)/epath.h $(HDIR)/ebind.h\
$(HDIR)/eproto.h
#list of object files
F1 = $(RDIR)/abbrev.r $(RDIR)/basic.r $(RDIR)/bind.r $(RDIR)/buffer.r
F2 = $(RDIR)/char.r $(RDIR)/crypt.r $(RDIR)/display.r $(RDIR)/dolock.r
F3 = $(RDIR)/eval.r $(RDIR)/exec.r $(RDIR)/file.r
F4 = $(RDIR)/fileio.r $(RDIR)/unix.r $(RDIR)/input.r
F5 = $(RDIR)/isearch.r $(RDIR)/keyboard.r $(RDIR)/line.r $(RDIR)/lock.r
F6 = $(RDIR)/main.r $(RDIR)/mouse.r $(RDIR)/screen.r $(RDIR)/select.r
F7 = $(RDIR)/random.r $(RDIR)/region.r $(RDIR)/search.r $(RDIR)/replace.r
F8 = $(RDIR)/tags.r $(RDIR)/undo.r $(RDIR)/window.r $(RDIR)/word.r $(RDIR)/gsscsz.r
# product list
all: $(ODIR)/emacs
@echo all done
OFILES = $(F1) $(F2) $(F3) $(F4) $(F5) $(F6) $(F7) $(F8)
$(ODIR)/emacs: $(OFILES)
$(CC) $(CFLAGS) $(OFILES) $(LFLAGS) -f=emacs
$(RDIR)/abbrev.r: $(SDIR)/abbrev.c $(HFILES)
$(RDIR)/basic.r: $(SDIR)/basic.c $(HFILES)
$(RDIR)/bind.r: $(SDIR)/bind.c $(HFILES)
$(RDIR)/buffer.r: $(SDIR)/buffer.c $(HFILES)
$(RDIR)/char.r: $(SDIR)/char.c $(HFILES)
$(RDIR)/crypt.r: $(SDIR)/crypt.c $(HFILES)
$(RDIR)/cmdfix.r: $(SDIR)/cmdfix.c $(HFILES)
$(RDIR)/display.r: $(SDIR)/display.c $(HFILES)
$(RDIR)/dolock.r: $(SDIR)/dolock.c $(HFILES)
$(RDIR)/eval.r: $(SDIR)/eval.c $(HFILES) $(HDIR)/evar.h
$(RDIR)/exec.r: $(SDIR)/exec.c $(HFILES)
$(RDIR)/file.r: $(SDIR)/file.c $(HFILES)
$(RDIR)/fileio.r: $(SDIR)/fileio.c $(HFILES)
$(RDIR)/input.r: $(SDIR)/input.c $(HFILES)
$(RDIR)/isearch.r: $(SDIR)/isearch.c $(HFILES)
$(RDIR)/line.r: $(SDIR)/line.c $(HFILES)
$(RDIR)/lock.r: $(SDIR)/lock.c $(HFILES)
$(RDIR)/main.r: $(SDIR)/main.c $(HFILES)
$(RDIR)/mouse.r: $(SDIR)/mouse.c $(HFILES)
$(RDIR)/unix.r: $(SDIR)/unix.c $(HFILES)
$(RDIR)/random.r: $(SDIR)/random.c $(HFILES)
$(RDIR)/region.r: $(SDIR)/region.c $(HFILES)
$(RDIR)/screen.r: $(SDIR)/screen.c $(HFILES)
$(RDIR)/search.r: $(SDIR)/search.c $(HFILES)
$(RDIR)/replace.r: $(SDIR)/replace.c $(HFILES)
$(RDIR)/tags.r: $(SDIR)/tags.c $(HFILES)
$(RDIR)/window.r: $(SDIR)/window.c $(HFILES)
$(RDIR)/word.r: $(SDIR)/word.c $(HFILES)
$(RDIR)/undo.r: $(SDIR)/undo.c $(HFILES)