|
|
1.1 ! root 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 4.3 (Berkeley) 6/18/87 ! 7: # ! 8: # If you don't want to plot, take out the -Dplot and the loader ! 9: # reference to plot.a ! 10: CFLAGS= -O -Dplot ! 11: LIBC= /lib/libc.a ! 12: SRCS= prof.c ! 13: OBJS= prof.o ! 14: ! 15: all: prof ! 16: ! 17: prof: ${OBJS} ${LIBC} ! 18: ${CC} -o $@ ${CFLAGS} ${OBJS} -lplot ! 19: ! 20: clean: FRC ! 21: rm -f ${OBJS} core prof ! 22: ! 23: depend: FRC ! 24: mkdep ${CFLAGS} ${SRCS} ! 25: ! 26: install: FRC ! 27: install -s -o bin -g bin -m 755 prof ${DESTDIR}/usr/bin/prof ! 28: ! 29: lint: FRC ! 30: lint ${CFLAGS} ${SRCS} ! 31: ! 32: tags: FRC ! 33: ctags ${SRCS} ! 34: ! 35: FRC: ! 36: ! 37: # DO NOT DELETE THIS LINE -- mkdep uses it. ! 38: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. ! 39: ! 40: prof.o: prof.c /usr/include/stdio.h /usr/include/sys/types.h ! 41: prof.o: /usr/include/sys/stat.h /usr/include/a.out.h /usr/include/sys/exec.h ! 42: prof.o: /usr/include/sys/time.h /usr/include/time.h ! 43: ! 44: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.