File:  [CSRG BSD Unix] / 43BSDTahoe / new / dipress / src / bin / mp2res / 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 mp2res
#
# Copyright (c) 1984, 1985, 1986 Xerox Corp.
#
#	Makefile for "mp2res" module
#
# HISTORY
#
#

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

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

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

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

test:
	(cd Test; make test)

install: $(DESTBIN)/mp2res

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

clean:
	rm -f mp2res *.o
	(cd Test; make clean)

unix.superglobalmegacorp.com

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