home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume9 / teco / part01 / Makefile < prev    next >
Makefile  |  1987-03-11  |  518b  |  24 lines

  1. ##
  2. ##  TECO MAKEFILE
  3. ##
  4.  
  5. # Debugging or optimizing?
  6. #CFLAGS    = -g
  7. CFLAGS    = -O
  8. TERMCAP    = -ltermcap
  9.  
  10. OBJECTS    = te_data.o te_exec0.o te_exec1.o te_exec2.o te_main.o te_rdcmd.o \
  11.     te_srch.o te_subs.o te_utils.o te_window.o
  12.  
  13. te:        $(OBJECTS) te_chario.o
  14.     $(CC) -o te $(CFLAGS) $(OBJECTS) te_chario.o $(TERMCAP)
  15.  
  16. tex:        $(OBJECTS) te_chx.o
  17.     $(CC) -o tex $(CFLAGS) $(OBJECTS) te_chx.o $(TERMCAP)
  18.  
  19. $(OBJECTS) te_chario.o te_chx.o:    te_defs.h
  20. te_chx.o:                te_chario.c
  21.     cp te_chario.c te_chx.c
  22.     $(CC) -DDEBUG $(CFLAGS) -c te_chx.c
  23.  
  24.