home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 1B / DATAFILE_PDCD1B.iso / _languages / languages / _littlest / !LITTLEST / MAKEFILE < prev    next >
Text File  |  1992-03-08  |  2KB  |  74 lines

  1. CFLAGS = -O -pcc
  2.  
  3. SRCS = memory.c names.c news.c interp.c \
  4.        primitive.c filein.c lex.c parser.c armio.c \
  5.        st.c tty.c 
  6.  
  7. ISRCS = memory.c names.c news.c interp.c initial.c \
  8.         primitive.c filein.c lex.c parser.c armio.c tty.c
  9.  
  10. OBJS = memory.o names.o news.o interp.o \
  11.        primitive.o filein.o lex.o parser.o armio.o \
  12.        st.o tty.o 
  13.  
  14. IOBJS = memory.o names.o news.o interp.o initial.o \
  15.         primitive.o filein.o lex.o parser.o armio.o tty.o
  16.  
  17. HDRS = env.h interp.h lex.h memory.h names.h stdevent.h stdtext.h stdwin.h
  18.  
  19. STS = st.basic st.mag st.collect st.file st.mult 
  20.  
  21. testST = test.st queen.st
  22. STFILES = $(STS) $(armST) $(testST) st.tty st.graphics st.stdwin
  23.  
  24. all: !RunImage initial
  25.      initial $(STS) st.tty
  26.  
  27. # st - system V with tty style interface
  28. !RunImage: $(OBJS)
  29.         link -o !RunImage $(OBJS) $.clib.o.stubs 
  30.  
  31. # initial - the initial object maker
  32. initial: $(IOBJS)  
  33.         link -o initial $(IOBJS) $.clib.o.stubs 
  34.  
  35. # all the dependencies on .h files
  36. filein.o : filein.c env.h memory.h names.h lex.h 
  37.         cc $(CFLAGS)    filein.c
  38.  
  39. initial.o : initial.c env.h memory.h names.h 
  40.         cc -c $(CFLAGS)    initial.c
  41.  
  42. interp.o : interp.c env.h memory.h names.h interp.h 
  43.         cc -c $(CFLAGS)    interp.c
  44.  
  45. lex.o : lex.c env.h memory.h lex.h 
  46.         cc -c $(CFLAGS)    lex.c
  47.  
  48. memory.o : memory.c env.h memory.h 
  49.         cc -c $(CFLAGS)    memory.c
  50.  
  51. names.o : names.c env.h memory.h names.h 
  52.         cc -c $(CFLAGS)    names.c
  53.  
  54. news.o : news.c env.h memory.h names.h 
  55.         cc -c $(CFLAGS)    news.c
  56.  
  57. parser.o : parser.c env.h memory.h names.h interp.h lex.h 
  58.         cc -c $(CFLAGS)    parser.c
  59.  
  60. primitive.o : primitive.c env.h memory.h names.h 
  61.         cc -c $(CFLAGS)    primitive.c
  62.  
  63. st.o : st.c env.h memory.h names.h 
  64.         cc -c $(CFLAGS)    st.c
  65.  
  66. tty.o : tty.c env.h memory.h 
  67.         cc -c $(CFLAGS)    tty.c
  68.  
  69. armio.o : armio.c env.h memory.h names.h 
  70.         cc -c $(CFLAGS)    armio.c
  71.  
  72. winprim.o : winprim.c stdwin.h stdevent.h stdtext.h env.h memory.h names.h 
  73.         cc -c $(CFLAGS)    winprim.c
  74.