xref: /original-bsd/old/lisp/fp/fp.tahoe/Makefile (revision 0f55f574)
10fad23c9Sbostic#
27cdd8c25Sbostic# Copyright (c) 1988 The Regents of the University of California.
30fad23c9Sbostic# All rights reserved.
40fad23c9Sbostic#
50fad23c9Sbostic# Redistribution and use in source and binary forms are permitted
60fad23c9Sbostic# provided that the above copyright notice and this paragraph are
77cdd8c25Sbostic# duplicated in all such forms and that any documentation,
87cdd8c25Sbostic# advertising materials, and other materials related to such
97cdd8c25Sbostic# distribution and use acknowledge that the software was developed
107cdd8c25Sbostic# by the University of California, Berkeley.  The name of the
117cdd8c25Sbostic# University may not be used to endorse or promote products derived
127cdd8c25Sbostic# from this software without specific prior written permission.
137cdd8c25Sbostic# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
147cdd8c25Sbostic# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
157cdd8c25Sbostic# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
160fad23c9Sbostic#
17*0f55f574Sbostic#	@(#)Makefile	5.3 (Berkeley) 05/10/89
180fad23c9Sbostic#
190fad23c9Sbostic
207cdd8c25SbosticCFLAGS=	-O
217cdd8c25SbosticLIBC=	/lib/libc.a
227cdd8c25SbosticSRCS=	fp.c
237cdd8c25SbosticOBJS=
247cdd8c25SbosticMAN=
257cdd8c25Sbostic
267cdd8c25Sbosticall: fp
277cdd8c25Sbostic
287cdd8c25Sbosticfp: ${LIBC}
297cdd8c25Sbostic	${CC} -o $@ ${CFLAGS} $@.c
307cdd8c25Sbostic
317cdd8c25Sbosticclean:
327cdd8c25Sbostic	rm -f ${OBJS} core fp
337cdd8c25Sbostic
347cdd8c25Sbosticcleandir: clean
357cdd8c25Sbostic	rm -f ${MAN} tags .depend
367cdd8c25Sbostic
377cdd8c25Sbosticdepend: ${SRCS}
387cdd8c25Sbostic	mkdep -p ${CFLAGS} ${SRCS}
397cdd8c25Sbostic
407cdd8c25Sbosticinstall:
41*0f55f574Sbostic	install -s -o bin -g bin -m 755 fp ${DESTDIR}/usr/bin
427cdd8c25Sbostic
437cdd8c25Sbosticlint: ${SRCS}
447cdd8c25Sbostic	lint ${CFLAGS} ${SRCS}
457cdd8c25Sbostic
467cdd8c25Sbostictags: ${SRCS}
477cdd8c25Sbostic	ctags ${SRCS}
48