home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume4 / uemacs / part4 / sys / ultrix / Makefile < prev    next >
Encoding:
Makefile  |  1986-11-30  |  873 b   |  58 lines

  1. # Makefile for MicroEMACS.
  2. # Is there a better way to do the rebuilds, other than using
  3. # the links?
  4.  
  5. SYS    = ultrix
  6. TTY    = ansi
  7.  
  8. CFLAGS    = -O
  9.  
  10. OBJ =    basic.o \
  11.     buffer.o \
  12.     cinfo.o \
  13.     display.o \
  14.     echo.o \
  15.     extend.o \
  16.     file.o \
  17.     kbd.o \
  18.     line.o \
  19.     main.o \
  20.     random.o \
  21.     region.o \
  22.     search.o \
  23.     symbol.o \
  24.     version.o \
  25.     window.o \
  26.     word.o \
  27.     fileio.o \
  28.     spawn.o \
  29.     ttyio.o \
  30.     tty.o \
  31.     ttykbd.o
  32.  
  33. xemacs:        $(OBJ)
  34.     cc -o xemacs $(OBJ)
  35.  
  36. $(OBJ):        def.h sysdef.h ttydef.h
  37.  
  38. sysdef.h:    sys/$(SYS)/sysdef.h    # Update links, if needed.
  39.     ln sys/$(SYS)/sysdef.h .
  40.  
  41. ttydef.h:    tty/$(TTY)/ttydef.h
  42.     ln tty/$(TTY)/ttydef.h .
  43.  
  44. fileio.c:    sys/$(SYS)/fileio.c
  45.     ln sys/$(SYS)/fileio.c .
  46.  
  47. spawn.c:    sys/$(SYS)/spawn.c
  48.     ln sys/$(SYS)/spawn.c .
  49.  
  50. tty.c:        tty/$(TTY)/tty.c
  51.     ln tty/$(TTY)/tty.c .
  52.  
  53. ttyio.c:    sys/$(SYS)/ttyio.c
  54.     ln sys/$(SYS)/ttyio.c .
  55.  
  56. ttykbd.c:    tty/$(TTY)/ttykbd.c
  57.     ln tty/$(TTY)/ttykbd.c .
  58.