diff options
author | Matt Stancliff <matt@genges.com> | 2015-01-26 09:55:32 -0500 |
---|---|---|
committer | Matt Stancliff <matt@genges.com> | 2015-01-26 10:08:12 -0500 |
commit | 2b2b512dca67d8db9bbad76a14bf7c7860a94166 (patch) | |
tree | 58d0f0db902b40fece54fc05e7e918cdfd1d1d78 /Makefile | |
parent | 74f53e30dbee94525ee23ae344c4fd30f5ddde87 (diff) |
Build test binary by default
This is the only way to force a 32-bit build of the test binary
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -65,7 +65,7 @@ ifeq ($(uname_S),Darwin) DYLIB_MAKE_CMD=$(CC) -shared -Wl,-install_name,$(DYLIB_MINOR_NAME) -o $(DYLIBNAME) $(LDFLAGS) endif -all: $(DYLIBNAME) $(STLIBNAME) $(PKGCONFNAME) +all: $(DYLIBNAME) $(STLIBNAME) hiredis-test $(PKGCONFNAME) # Deps (use make dep to generate this) async.o: async.c fmacros.h async.h hiredis.h read.h sds.h net.h dict.c dict.h @@ -121,7 +121,7 @@ examples: $(EXAMPLES) hiredis-test: test.o $(STLIBNAME) hiredis-%: %.o $(STLIBNAME) - $(CC) -o $@ $(REAL_LDFLAGS) $< $(STLIBNAME) + $(CC) $(REAL_CFLAGS) -o $@ $(REAL_LDFLAGS) $< $(STLIBNAME) test: hiredis-test ./hiredis-test |