summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authormassiot <massiot@271ca591-50e6-457e-a4d7-9fbfa1de8f49>2010-03-01 00:07:08 +0100
committermassiot <massiot@271ca591-50e6-457e-a4d7-9fbfa1de8f49>2010-03-01 00:07:08 +0100
commitfdd677cabf27d4e45c8abc201f885f1cc2b493db (patch)
tree54b2e4c5edcab186212e2e27af5cbbe23116d947 /Makefile
parentab52fd8e50d6b5482a147840f38d8329e538b512 (diff)
downloadmulticat-fdd677cabf27d4e45c8abc201f885f1cc2b493db.tar
multicat-fdd677cabf27d4e45c8abc201f885f1cc2b493db.zip
* Makefile: Add install rule.
* Changelog: Create. git-svn-id: svn://svn.videolan.org/multicat/trunk@3 271ca591-50e6-457e-a4d7-9fbfa1de8f49
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2cafdf8..4ffb1ca 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,8 @@ OBJ_AGGREGARTP = aggregartp.o util.o
OBJ_DESAGGREGARTP = desaggregartp.o util.o
OBJ_OFFSETS = offsets.o
+BIN = $(DESTDIR)/usr/bin
+
all: multicat ingests aggregartp desaggregartp offsets
$(OBJ_MULTICAT): Makefile util.h
@@ -35,3 +37,10 @@ offsets: $(OBJ_OFFSETS)
clean:
-rm -f multicat $(OBJ_MULTICAT) ingests $(OBJ_INGESTS) aggregartp $(OBJ_AGGREGARTP) desaggregartp $(OBJ_DESAGGREGARTP) offsets $(OBJ_OFFSETS)
+
+install: all
+ @install -d $(BIN)
+ @install multicat ingests aggregartp desaggregartp offsets $(BIN)
+
+uninstall:
+ @rm $(BIN)/multicat $(BIN)/ingests $(BIN)/aggregartp $(BIN)/desaggregartp $(BIN)/offsets