add "install" Makefile target
This commit is contained in:
parent
951729a26d
commit
31798422d2
6
Makefile
6
Makefile
@ -18,11 +18,17 @@
|
|||||||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
# IN THE SOFTWARE.
|
# IN THE SOFTWARE.
|
||||||
|
|
||||||
|
PREFIX ?= /usr/local
|
||||||
|
|
||||||
all :
|
all :
|
||||||
cd agent && $(MAKE)
|
cd agent && $(MAKE)
|
||||||
cd libwinpty && $(MAKE)
|
cd libwinpty && $(MAKE)
|
||||||
cd unix-adapter && $(MAKE)
|
cd unix-adapter && $(MAKE)
|
||||||
|
|
||||||
|
install : all
|
||||||
|
mkdir -p $(PREFIX)/bin
|
||||||
|
cp build/* $(PREFIX)/bin
|
||||||
|
|
||||||
clean :
|
clean :
|
||||||
cd agent && $(MAKE) clean
|
cd agent && $(MAKE) clean
|
||||||
cd libwinpty && $(MAKE) clean
|
cd libwinpty && $(MAKE) clean
|
||||||
|
Loading…
Reference in New Issue
Block a user