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
be98a33b
Commit
be98a33b
authored
Nov 08, 2010
by
antirez
Browse files
fixed compilation with 32bit target
parent
97e7f8ae
Changes
2
Show whitespace changes
Inline
Side-by-side
deps/linenoise/Makefile
View file @
be98a33b
linenoise_example
:
linenoise.h linenoise.c
linenoise_example
:
linenoise.h linenoise.c
linenoise_example
:
linenoise.o example.o
linenoise_example
:
linenoise.o example.o
$(CC)
-Wall
-W
-Os
-g
-o
linenoise_example linenoise.o example.o
$(CC)
$(ARCH)
-Wall
-W
-Os
-g
-o
linenoise_example linenoise.o example.o
.c.o
:
.c.o
:
$(CC)
-c
-Wall
-W
-Os
-g
$<
$(CC)
$(ARCH)
-c
-Wall
-W
-Os
-g
$<
clean
:
clean
:
rm
-f
linenoise_example
rm
-f
linenoise_example
*
.o
src/Makefile
View file @
be98a33b
...
@@ -116,8 +116,8 @@ redis-benchmark.o:
...
@@ -116,8 +116,8 @@ redis-benchmark.o:
$(CC)
-c
$(CFLAGS)
-I
../deps/hiredis
$(DEBUG)
$(COMPILE_TIME)
$<
$(CC)
-c
$(CFLAGS)
-I
../deps/hiredis
$(DEBUG)
$(COMPILE_TIME)
$<
redis-cli
:
$(CLIOBJ)
redis-cli
:
$(CLIOBJ)
cd
../deps/hiredis
&&
make static
cd
../deps/hiredis
&&
make static
ARCH
=
"
$(ARCH)
"
cd
../deps/linenoise
&&
make
cd
../deps/linenoise
&&
make
ARCH
=
"
$(ARCH)
"
$(CC)
-o
$(CLIPRGNAME)
$(CCOPT)
$(DEBUG)
$(CLIOBJ)
../deps/hiredis/libhiredis.a ../deps/linenoise/linenoise.o
$(CC)
-o
$(CLIPRGNAME)
$(CCOPT)
$(DEBUG)
$(CLIOBJ)
../deps/hiredis/libhiredis.a ../deps/linenoise/linenoise.o
redis-cli.o
:
redis-cli.o
:
...
@@ -134,6 +134,8 @@ redis-check-aof: $(CHECKAOFOBJ)
...
@@ -134,6 +134,8 @@ redis-check-aof: $(CHECKAOFOBJ)
clean
:
clean
:
rm
-rf
$(PRGNAME)
$(BENCHPRGNAME)
$(CLIPRGNAME)
$(CHECKDUMPPRGNAME)
$(CHECKAOFPRGNAME)
*
.o
*
.gcda
*
.gcno
*
.gcov
rm
-rf
$(PRGNAME)
$(BENCHPRGNAME)
$(CLIPRGNAME)
$(CHECKDUMPPRGNAME)
$(CHECKAOFPRGNAME)
*
.o
*
.gcda
*
.gcno
*
.gcov
cd
../deps/hiredis
&&
make clean
cd
../deps/linenoise
&&
make clean
dep
:
dep
:
$(CC)
-MM
*
.c
$(CC)
-MM
*
.c
...
...
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