summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 41238ca..868de0a 100644
--- a/Makefile
+++ b/Makefile
@@ -5,13 +5,18 @@ RELEASE=$(shell awk '/Release:/ { print $$2 }' $(SPECFILE))
CVSTAG = $(NAME)_$(subst .,-,$(VERSION))_$(subst .,-,$(RELEASE))
RPM=rpm
+prefix=/usr
+includedir=$(prefix)/include
+libdir=$(prefix)/lib
+
default: all
all:
@$(MAKE) -C src
install:
- @$(MAKE) -C src install
+ @$(MAKE) -C src install prefix=$(prefix) includedir=$(includedir) libdir=$(libdir)
+
clean:
@$(MAKE) -C src clean