Commit | Line | Data |
---|---|---|
41c799d4 C |
1 | # |
2 | # Makefile for uurate 1.0 | |
3 | # | |
4 | ||
5 | # Where uurate is installed | |
6 | BIN=/usr/local/bin | |
7 | ||
8 | # Flags to use when compiling uurate | |
9 | CFLAGS=-I.. | |
10 | ||
11 | CC=cc | |
12 | SHELL=/bin/sh | |
13 | PROGS=uurate | |
14 | ||
15 | #----------- | |
16 | ||
17 | all: $(PROGS) | |
18 | ||
19 | install: $(PROGS) | |
20 | @for i in $(PROGS) ; do \ | |
21 | echo "Install $$i into $(BIN)..." ; \ | |
22 | cp $$i $(BIN) ; \ | |
23 | echo "Set ownership and protection..." ; \ | |
24 | /bin/chmod 0555 $(BIN)/$$i ; \ | |
25 | /bin/chown bin $(BIN)/$$i ; \ | |
26 | /bin/chgrp bin $(BIN)/$$i ; \ | |
27 | done | |
28 | ||
29 | clean: | |
30 | rm -f $(PROGS) core |