Browse Source

Add a Makefile to install/uninstalll everything.

master
Rémi Duraffort 14 years ago
committed by Christophe Massiot
parent
commit
3df65446c0
1 changed files with 17 additions and 0 deletions
  1. +17
    -0
      Makefile

+ 17
- 0
Makefile View File

@ -0,0 +1,17 @@
PREFIX ?= /usr/local
INCLUDE = $(PREFIX)/include/bitstream
install:
@install -d $(INCLUDE)
@install -m 644 common.h $(INCLUDE)/
@install -d $(INCLUDE)/dvb
@install -m 644 dvb/* $(INCLUDE)/dvb
@install -d $(INCLUDE)/ietf
@install -m 644 ietf/* $(INCLUDE)/ietf
@install -d $(INCLUDE)/mpeg
@install -m 644 mpeg/* $(INCLUDE)/mpeg
uninstall:
@rm -rf $(INCLUDE)
.PHONY: install uninstall

Loading…
Cancel
Save