Commit | Line | Data |
---|---|---|
eeea78d6 BJ |
1 | CFLAGS=-O |
2 | all: btlgrep ucbgrep | |
3 | ||
4 | btlgrep: btlgrep.o | |
5 | cc btlgrep.o -o btlgrep | |
6 | ||
7 | ucbgrep: ucbgrep.o | |
8 | cc ucbgrep.o -o ucbgrep | |
9 | ||
10 | install: btlgrep ucbgrep | |
11 | strip btlgrep ucbgrep | |
12 | mv btlgrep ${DESTDIR}/bin/grep | |
13 | mv ucbgrep ${DESTDIR}/usr/ucb/grep | |
14 | ||
15 | clean: | |
16 | rm -f *.o btlgrep ucbgrep |