home *** CD-ROM | disk | FTP | other *** search
Makefile | 1989-02-03 | 1.1 KB | 38 lines |
- /*****************************************************************************
- /* FILE: makefile
- /* DATE: August 1988.
- /* AUTHOR: Richard A. Culshaw.
- /* DISCLAIMER: This file is deemed to be public-domain, on the simple
- /* provisos that this section remains in this file and
- /* that code using it do not do so for monetary gain.
- /* Neither the author, nor the authors employees at the
- /* time of developing this code, accept any liability or
- /* responsibility for the use, abuse or misuse of this
- /* code.
- /*****************************************************************************/
-
- # Use -g if you want large, but sdb-,gdb-,dbx-able objects.
- OPTIONS= -O
-
- # BSD systems, in particular, will want -lcurses -ltermcap.
- CURSES= -lcurses
-
- # SYS5 systems, in particular, do not have ranlib(1) for their libraries.
- # So define this as, for example, touch, if you don't have ranlib.
- RANLIB= touch
-
- WDGTLIB= widgetlib.a
-
- all: wpage
-
- widgetlib.a: widgetlib.o widget.h
- ar crv $@ widgetlib.o
- ${RANLIB} $@
- rm -f widgetlib.o
-
- wpage: widgetlib.a wpage.o
- cc ${OPTION} -o $@ wpage.o ${WDGTLIB} ${CURSES}
-
- clean:
- rm -f wpage *.o *.a
-