summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2010-07-29 23:05:51 -0700
committerKent Overstreet <kent.overstreet@gmail.com>2010-07-29 23:05:51 -0700
commite7b1ba1bd08087f56b6fd1e4aad1cc521a2e35fd (patch)
treeed0acf0120f59ff592ab1600d1db0b02b34767b0 /Makefile
parent8dc5698fe9ebf4c7f87bd339a163c18328421756 (diff)
Cleanups
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8d8c0da..a47719d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,15 @@
+PREFIX=/usr/local
CFLAGS=-O2 -Wall -g
-all: make-bcache bcache-test
+all: make-bcache
clean:
rm -f make-bcache bcache-test *.o
+install: make-bcache
+ install -m0755 make-bcache ${PREFIX}/sbin/
+ install -m0755 bcache-test ${PREFIX}/sbin/
+
+
bcache-test: LDFLAGS += -lm -lssl -lcrypto