Permalink
Browse files

Merge pull request #8 from gvangool/fix/make_prefix

Redefine your PREFIX via commandline
  • Loading branch information...
2 parents 3d832a7 + b692e8c commit 6b263c7ec33b03485d4d3627d75c3f5ba26a22c4 @tj committed Dec 12, 2011
Showing with 7 additions and 1 deletion.
  1. +1 −1 Makefile
  2. +6 −0 Readme.md
View
@@ -1,6 +1,6 @@
CFLAGS = -std=c99 -D_POSIX_C_SOURCE=199309L -Wall -pedantic
-PREFIX = /usr/local
+PREFIX ?= /usr/local
watch: src/watch.c
$(CC) $< $(CFLAGS) -o $@
View
@@ -23,6 +23,12 @@ Options:
$ make install
```
+Or in your local bin (`~/bin`)
+
+```
+$ PREFIX=~ make install
+```
+
## About
This project is very similar to original [watch(1)](http://linux.die.net/man/1/watch) implemented in 1991, differences include:

0 comments on commit 6b263c7

Please sign in to comment.