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
redis
Commits
acc01854
Commit
acc01854
authored
Jul 06, 2010
by
antirez
Browse files
make install target, finally ;)
parent
f26dde8c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
acc01854
# Top level makefile, the real shit is at src/Makefile
# Top level makefile, the real shit is at src/Makefile
TARGETS
=
32bit noopt
TARGETS
=
32bit noopt
test install
all
:
all
:
cd
src
&&
$(MAKE)
$@
cd
src
&&
$(MAKE)
$@
...
...
src/Makefile
View file @
acc01854
...
@@ -15,6 +15,10 @@ endif
...
@@ -15,6 +15,10 @@ endif
CCOPT
=
$(CFLAGS)
$(CCLINK)
$(ARCH)
$(PROF)
CCOPT
=
$(CFLAGS)
$(CCLINK)
$(ARCH)
$(PROF)
DEBUG
?=
-g
-rdynamic
-ggdb
DEBUG
?=
-g
-rdynamic
-ggdb
INSTALL_TOP
=
/usr/local
INSTALL_BIN
=
$(INSTALL_TOP)
/bin
INSTALL
=
cp
-p
OBJ
=
adlist.o ae.o anet.o dict.o redis.o sds.o zmalloc.o lzf_c.o lzf_d.o pqsort.o zipmap.o sha1.o ziplist.o release.o networking.o util.o object.o db.o replication.o rdb.o t_string.o t_list.o t_set.o t_zset.o t_hash.o config.o aof.o vm.o pubsub.o multi.o debug.o sort.o
OBJ
=
adlist.o ae.o anet.o dict.o redis.o sds.o zmalloc.o lzf_c.o lzf_d.o pqsort.o zipmap.o sha1.o ziplist.o release.o networking.o util.o object.o db.o replication.o rdb.o t_string.o t_list.o t_set.o t_zset.o t_hash.o config.o aof.o vm.o pubsub.o multi.o debug.o sort.o
BENCHOBJ
=
ae.o anet.o redis-benchmark.o sds.o adlist.o zmalloc.o
BENCHOBJ
=
ae.o anet.o redis-benchmark.o sds.o adlist.o zmalloc.o
CLIOBJ
=
anet.o sds.o adlist.o redis-cli.o zmalloc.o linenoise.o
CLIOBJ
=
anet.o sds.o adlist.o redis-cli.o zmalloc.o linenoise.o
...
@@ -109,3 +113,10 @@ noopt:
...
@@ -109,3 +113,10 @@ noopt:
32bitgprof
:
32bitgprof
:
make
PROF
=
"-pg"
ARCH
=
"-arch i386"
make
PROF
=
"-pg"
ARCH
=
"-arch i386"
install
:
all
$(INSTALL)
$(PRGNAME)
$(INSTALL_BIN)
$(INSTALL)
$(BENCHPRGNAME)
$(INSTALL_BIN)
$(INSTALL)
$(CLIPRGNAME)
$(INSTALL_BIN)
$(INSTALL)
$(CHECKDUMPPRGNAME)
$(INSTALL_BIN)
$(INSTALL)
$(CHECKAOFPRGNAME)
$(INSTALL_BIN)
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