Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
e16340f2
Commit
e16340f2
authored
Nov 01, 2010
by
Pieter Noordhuis
Browse files
Add install target in Makefile
parent
89e06225
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
e16340f2
...
@@ -32,6 +32,11 @@ endif
...
@@ -32,6 +32,11 @@ endif
CCOPT
=
$(CFLAGS)
$(CCLINK)
$(ARCH)
$(PROF)
CCOPT
=
$(CFLAGS)
$(CCLINK)
$(ARCH)
$(PROF)
DEBUG
?=
-g
-ggdb
DEBUG
?=
-g
-ggdb
PREFIX
?=
/usr/local
INSTALL_INC
=
$(PREFIX)
/include/hiredis
INSTALL_LIB
=
$(PREFIX)
/lib
INSTALL
=
cp
-a
all
:
${DYLIBNAME} ${BINS}
all
:
${DYLIBNAME} ${BINS}
# Deps (use make dep to generate this)
# Deps (use make dep to generate this)
...
@@ -74,6 +79,11 @@ clean:
...
@@ -74,6 +79,11 @@ clean:
dep
:
dep
:
$(CC)
-MM
*
.c
$(CC)
-MM
*
.c
install
:
${DYLIBNAME} ${STLIBNAME}
mkdir
-p
$(INSTALL_INC)
$(INSTALL_LIB)
$(INSTALL)
hiredis.h async.h adapters
$(INSTALL_INC)
$(INSTALL)
${DYLIBNAME}
${STLIBNAME}
$(INSTALL_LIB)
32bit
:
32bit
:
@
echo
""
@
echo
""
@
echo
"WARNING: if it fails under Linux you probably need to install libc6-dev-i386"
@
echo
"WARNING: if it fails under Linux you probably need to install libc6-dev-i386"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment