home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 419b.lha / TERMLIB / Makefile < prev    next >
Makefile  |  1990-10-05  |  765b  |  58 lines

  1. #
  2. # The following module order is needed to create a properly sorted library
  3. # for Manx
  4. #
  5.  
  6. OBJS=\
  7.     tgetflag.o\
  8.     tgetnum.o\
  9.     tinit.o\
  10.     tgoto.o\
  11.     tputs.o\
  12.     tvars.o\
  13.     tgetent.o\
  14.     tgetstr.o\
  15.     tutil.o
  16. SRC=\
  17.     termlib.h\
  18.     tinit.c\
  19.     tgetnum.c\
  20.     tutil.c\
  21.     tvars.c\
  22.     tgoto.c\
  23.     tgetent.c\
  24.     tputs.c\
  25.     cur.c\
  26.     termcap.c\
  27.     tgetflag.c\
  28.     tgetstr.c\
  29.     Makefile
  30.  
  31. CFLAGS= +P -B -DAMIGA=1
  32. LIB=termlibl32.lib
  33.  
  34. LIBDIR=manx:lib
  35. BINDIR=work:c
  36.  
  37. all: cur termcap
  38.  
  39. $(LIB): $(OBJS)
  40.     lb $(LIB) $(OBJS)
  41.  
  42. termcap: $(LIB) termcap.o
  43.     ln -o termcap termcap.o $(LIB) -lcl32
  44.  
  45. cur: $(LIB) cur.o
  46.     ln -o cur cur.o $(LIB) -lcl32
  47.  
  48. clean:
  49.     delete #?.o #?.lib termcap cur #?.bak
  50.  
  51. install: all
  52.     copy $(LIB) $(LIBDIR)
  53.     copy termcap $(BINDIR)
  54.     copy cur $(BINDIR)
  55.  
  56. termlib.shar: $(SRC)
  57.     shar >termlib.shar $(SRC)
  58.