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

#
#
# Copyright (c) 1984, 1985 Xerox Corp.
#
#	Makefile for "stackres" module
#
CFLAGS=		-I${DESTINCLUDE} -O
LFLAGS=		-lm
DESTBIN=	../../../bin
DESTINCLUDE=	../../../include

stackres: stackres.o parse.o execute.o stack.o error.o
	cc -o stackres stackres.o parse.o execute.o stack.o error.o ${LFLAGS}

stackres.o: stackres.c stack.h /usr/include/stdio.h
	cc -c ${CFLAGS} stackres.c

parse.o: parse.c ${DESTINCLUDE}/iptokens.h /usr/include/stdio.h
	cc -c ${CFLAGS} parse.c

execute.o: execute.c stack.h ${DESTINCLUDE}/iptokens.h /usr/include/stdio.h /usr/include/math.h
	cc -c ${CFLAGS} execute.c

stack.o: stack.c stack.h
	cc -c ${CFLAGS} stack.c

clean:
	rm -f stackres *.o

install: stackres
	install -c -s stackres ${DESTBIN}

unix.superglobalmegacorp.com

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