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
306c97dc
Commit
306c97dc
authored
Sep 30, 2011
by
Pieter Noordhuis
Browse files
Fix build for new tests
parent
1375e400
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
306c97dc
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
# Copyright (C) 2010-2011 Pieter Noordhuis <pcnoordhuis at gmail dot com>
# Copyright (C) 2010-2011 Pieter Noordhuis <pcnoordhuis at gmail dot com>
# This file is released under the BSD license, see the COPYING file
# This file is released under the BSD license, see the COPYING file
OBJ
=
net.o hiredis.o sds.o async.o
OBJ
=
net.o hiredis.o sds.o async.o
parser.o object.o
BINS
=
hiredis-example hiredis-test
BINS
=
hiredis-example hiredis-test
LIBNAME
=
libhiredis
LIBNAME
=
libhiredis
...
@@ -94,17 +94,17 @@ check: hiredis-test
...
@@ -94,17 +94,17 @@ check: hiredis-test
(
kill
`
cat
/tmp/hiredis-test-redis.pid
`
&&
false
)
(
kill
`
cat
/tmp/hiredis-test-redis.pid
`
&&
false
)
kill
`
cat
/tmp/hiredis-test-redis.pid
`
kill
`
cat
/tmp/hiredis-test-redis.pid
`
test/test-%.o
:
test/test-%.c
test/test-%.o
:
test/test-%.c
$(STLIBNAME)
$(CC)
-std
=
c99
-pedantic
-o
$@
-c
$(REAL_CFLAGS)
$<
$(CC)
-std
=
c99
-pedantic
-o
$@
-c
$(REAL_CFLAGS)
$<
test/test-
parser
:
test/test-
parser.o parser.o sds.o
test/test-
%
:
test/test-
%.o $(STLIBNAME)
$(CC)
-o
$@
$(REAL_LDFLAGS)
$^
$(CC)
-o
$@
$(REAL_LDFLAGS)
$^
.c.o
:
.c.o
:
$(CC)
-std
=
c99
-pedantic
-c
$(REAL_CFLAGS)
$<
$(CC)
-std
=
c99
-pedantic
-c
$(REAL_CFLAGS)
$<
clean
:
clean
:
rm
-rf
$(DYLIBNAME)
$(STLIBNAME)
$(BINS)
hiredis-example
*
*
.o
*
.gcda
*
.gcno
*
.gcov
rm
-rf
$(DYLIBNAME)
$(STLIBNAME)
$(BINS)
hiredis-example
*
*
.o
*
.gcda
*
.gcno
*
.gcov
test
/
*
.o
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