home *** CD-ROM | disk | FTP | other *** search
Makefile | 1990-10-05 | 765 b | 58 lines |
- #
- # The following module order is needed to create a properly sorted library
- # for Manx
- #
-
- OBJS=\
- tgetflag.o\
- tgetnum.o\
- tinit.o\
- tgoto.o\
- tputs.o\
- tvars.o\
- tgetent.o\
- tgetstr.o\
- tutil.o
- SRC=\
- termlib.h\
- tinit.c\
- tgetnum.c\
- tutil.c\
- tvars.c\
- tgoto.c\
- tgetent.c\
- tputs.c\
- cur.c\
- termcap.c\
- tgetflag.c\
- tgetstr.c\
- Makefile
-
- CFLAGS= +P -B -DAMIGA=1
- LIB=termlibl32.lib
-
- LIBDIR=manx:lib
- BINDIR=work:c
-
- all: cur termcap
-
- $(LIB): $(OBJS)
- lb $(LIB) $(OBJS)
-
- termcap: $(LIB) termcap.o
- ln -o termcap termcap.o $(LIB) -lcl32
-
- cur: $(LIB) cur.o
- ln -o cur cur.o $(LIB) -lcl32
-
- clean:
- delete #?.o #?.lib termcap cur #?.bak
-
- install: all
- copy $(LIB) $(LIBDIR)
- copy termcap $(BINDIR)
- copy cur $(BINDIR)
-
- termlib.shar: $(SRC)
- shar >termlib.shar $(SRC)
-