From 6dcb0e4b6d827b9c79f402ff91049b2830b8a743 Mon Sep 17 00:00:00 2001 From: Loren Merritt Date: Thu, 31 Mar 2005 06:03:22 +0000 Subject: [PATCH] make install git-svn-id: svn://svn.videolan.org/x264/trunk@183 df754926-b1dd-0310-bc7b-ec298dee348c --- Makefile | 6 ++++++ build/cygwin/Makefile | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/Makefile b/Makefile index 548380f4..6a5ce3ee 100644 --- a/Makefile +++ b/Makefile @@ -106,6 +106,12 @@ clean: distclean: clean +DIR_INSTALL="/usr/local" +install: x264 + install x264.h $(DIR_INSTALL)/include/ + install libx264.a $(DIR_INSTALL)/lib/ + install x264 $(DIR_INSTALL)/bin/ + etags: TAGS TAGS: diff --git a/build/cygwin/Makefile b/build/cygwin/Makefile index 89357ff1..630d2eef 100644 --- a/build/cygwin/Makefile +++ b/build/cygwin/Makefile @@ -13,6 +13,8 @@ DIR_CUR=$(shell pwd) # Path to src DIR_SRC=$(DIR_CUR)/../.. +DIR_INSTALL="/usr/local" + # Sources SRC_C= common/mc.c common/predict.c common/pixel.c common/macroblock.c \ common/frame.c common/dct.c common/cpu.c common/cabac.c \ @@ -118,3 +120,7 @@ clean: @echo " Cl: Object files and target lib" @$(RM) $(DIR_BUILD) +install: x264.exe + install x264.h $(DIR_INSTALL)/include/ + install libx264.a $(DIR_INSTALL)/lib/ + install x264.exe $(DIR_INSTALL)/bin/ -- 2.47.3