From fdd677cabf27d4e45c8abc201f885f1cc2b493db Mon Sep 17 00:00:00 2001 From: massiot Date: Sun, 28 Feb 2010 23:07:08 +0000 Subject: * Makefile: Add install rule. * Changelog: Create. git-svn-id: svn://svn.videolan.org/multicat/trunk@3 271ca591-50e6-457e-a4d7-9fbfa1de8f49 --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3