File:  [CSRG BSD Unix] / 43BSDTahoe / new / dipress / src / bin / charset / Makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:58 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43tahoe
BSD 4.3tahoe

# Makefile for Unix Interpress utilities
#
# Copyright (c) 1984, 1985, 1986 Xerox Corp.
#
# HISTORY
# 03-Jul-86  Lee Moore (lee) at Xerox Webster Research Center
#	Added "-lm" to the load line as a favor to Pyramids.
#	Converted for use with "getopt".
#
#     Dec 1, 1985	Lee Moore, Xerox WRC
#	added lint
#

DESTBIN=../../../bin
DESTINCLUDE=../../../include
DESTLIB=../../../lib

charset: charset.o $(DESTLIB)/libip.a $(DESTLIB)/libgetopt.a
	$(CC) $(CFLAGS) -o charset charset.o $(DESTLIB)/libip.a \
		$(DESTLIB)/libgetopt.a -lm

charset.o: $(DESTINCLUDE)/iptokens.h $(DESTINCLUDE)/literal.h $(DESTINCLUDE)/operator.h
	$(CC) $(CFLAGS) -I$(DESTINCLUDE) -c charset.c

lint:
	lint -ab -I$(DESTINCLUDE) charset.c $(DESTLIB)/llib-lip.ln \
		$(DESTLIB)/llib-lgetopt.ln -lc
	

install: $(DESTBIN)/charset

$(DESTBIN)/charset: charset
	install -c -s charset $(DESTBIN)

clean:
	rm -f charset test.ip *.o

test:
	charset -p357 -otest.ip -s12 TroffMathExtra

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.