Commit | Line | Data |
---|---|---|
7c9f0560 SL |
1 | # @(#)Makefile 4.1 (Berkeley) %G% |
2 | # | |
3 | # If you don't want to plot, take out the -Dplot and the ref. to plot.a | |
4 | PLOT = -lplot -Dplot | |
5 | CFLAGS=-O | |
6 | prof: prof.o | |
7 | $(CC) -o prof prof.o $(PLOT) | |
8 | ||
9 | prof.o: prof.c | |
10 | cc -c $(CFLAGS) $(PLOT) prof.c | |
11 | ||
12 | install: | |
13 | install -s prof $(DESTDIR)/usr/bin | |
14 | ||
15 | clean : | |
16 | rm -f *.o prof |