make install
authorLoren Merritt <pengvado@videolan.org>
Thu, 31 Mar 2005 06:03:22 +0000 (06:03 +0000)
committerLoren Merritt <pengvado@videolan.org>
Thu, 31 Mar 2005 06:03:22 +0000 (06:03 +0000)
git-svn-id: svn://svn.videolan.org/x264/trunk@183 df754926-b1dd-0310-bc7b-ec298dee348c

Makefile
build/cygwin/Makefile

index 548380f..6a5ce3e 100644 (file)
--- 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:
index 89357ff..630d2ee 100644 (file)
@@ -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/