home *** CD-ROM | disk | FTP | other *** search
Makefile | 1987-07-29 | 949 b | 49 lines |
- #
- # $Header: Makefile,v 3.1 87/07/22 09:36:13 mcooper Exp $
- #
- # Makefile for QTerm
- #
-
- #
- # If you change DIR, run "make reconfig".
- #
- DIR = /usr/public
-
- BIN = $(DIR)/bin
- MAN = $(DIR)/man/man1
-
- #
- # TABFILE should be set to the location you want the qterm table
- # file placed in.
- #
- TABFILE = $(DIR)/lib/qtermtab
-
- CONFIGFILES = Makefile qterm.1
-
- OBJS = qterm.o
- #
- # Add "-DUSG5" to $(CFLAGS) below, if your system is Unix System V.
- #
- CFLAGS = -O -DTABFILE=\"$(TABFILE)\"
-
- qterm: $(OBJS) qterm.h
- cc $(CFLAGS) $(OBJS) -o qterm
-
- reconfig:
- -@for i in $(CONFIGFILES); do \
- echo ReConfiguring $$i...;\
- sed "s;/usr/public;$(DIR);g" < $$i > $$i.tmp;\
- mv -f $$i.tmp $$i;\
- done
-
- shar:
- shar README Makefile qtermtab qterm.c qterm.h qterm.1 > qterm.shar
-
- clean:
- rm -f *.o core log *~ \#* qterm qterm.shar o
-
- install: qterm qterm.1 qtermtab
- install qterm $(BIN)
- install -c -m 644 qterm.1 $(MAN)
- install -c -m 644 qtermtab $(TABFILE)
-