Permalink
Browse files

Redefine your PREFIX via commandline

Redefine the PREFIX via command-line, for easier install into a
different location:

    PREFIX=~ make install
  • Loading branch information...
1 parent 3d832a7 commit 98762c1b0c20d0819d01c3fe5d789400f1946435 @gvangool gvangool committed Dec 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile
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 $@

0 comments on commit 98762c1

Please sign in to comment.