1# 2# Copyright (c) 1987 Regents of the University of California. 3# All rights reserved. The Berkeley software License Agreement 4# specifies the terms and conditions for redistribution. 5# 6# @(#)Makefile 5.3 (Berkeley) 06/18/87 7# 8CFLAGS= -O 9LIBC= /lib/libc.a 10SRCS= m4.c m4y.c 11OBJS= m4.o m4y.o 12 13all: m4 14 15m4: ${OBJS} ${LIBC} 16 ${CC} -o $@ ${CFLAGS} ${OBJS} 17 18clean: FRC 19 rm -f ${OBJS} core m4 m4y.c 20 21depend: ${SRCS} FRC 22 mkdep ${CFLAGS} ${SRCS} 23 24install: FRC 25 install -s -o bin -g bin -m 755 m4 ${DESTDIR}/usr/bin/m4 26 27lint: ${SRCS} FRC 28 lint ${CFLAGS} ${SRCS} 29 30tags: ${SRCS} FRC 31 ctags ${SRCS} 32 33FRC: 34 35# DO NOT DELETE THIS LINE -- mkdep uses it. 36# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. 37 38m4.o: m4.c /usr/include/stdio.h /usr/include/signal.h 39m4y.o: m4y.c 40 41# IF YOU PUT ANYTHING HERE IT WILL GO AWAY 42