add "install" Makefile target

This commit is contained in:
Josh Holtrop 2012-07-11 14:50:51 -04:00
parent 951729a26d
commit 31798422d2

View File

@ -18,11 +18,17 @@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
PREFIX ?= /usr/local
all :
cd agent && $(MAKE)
cd libwinpty && $(MAKE)
cd unix-adapter && $(MAKE)
install : all
mkdir -p $(PREFIX)/bin
cp build/* $(PREFIX)/bin
clean :
cd agent && $(MAKE) clean
cd libwinpty && $(MAKE) clean