Commit d154b06d authored by ivoire's avatar ivoire

Add install and uninstall target (adapted to be used also for debian packaging)


git-svn-id: svn://svn.videolan.org/dvblast/trunk@102 55d3f8b6-4a41-4d2d-a900-313d1436a5b8
parent 95f822dc
......@@ -10,6 +10,8 @@ LDFLAGS_DVBLAST += -ldvbpsi -lpthread
OBJ_DVBLAST = dvblast.o util.o dvb.o udp.o asi.o demux.o output.o en50221.o comm.o
OBJ_DVBLASTCTL = util.o dvblastctl.o
BIN = $(DESTDIR)/usr/bin
all: dvblast dvblastctl
$(OBJ_DVBLAST) $(OBJ_DVBLASTCTL): Makefile dvblast.h en50221.h comm.h version.h asi.h
......@@ -20,4 +22,11 @@ dvblast: $(OBJ_DVBLAST)
dvblastctl: $(OBJ_DVBLASTCTL)
clean:
-rm -f dvblast dvblastctl $(OBJ_DVBLAST) $(OBJ_DVBLASTCTL)
@rm -f dvblast dvblastctl $(OBJ_DVBLAST) $(OBJ_DVBLASTCTL)
install: all
@install -d $(BIN)
@install dvblast dvblastctl $(BIN)
unistall:
@rm $(BIN)/dvblast $(BIN)/dvblastctl
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment