]> git.saurik.com Git - redis.git/blobdiff - Makefile
Check seplen and len before malloc'ing "tokens"
[redis.git] / Makefile
index 576c0e5e94fb7192b2baf248f056bb4a8b9b6b50..b72faa1b18c88b8a491deca9d9ebe5e3c1a95f64 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,22 @@
 # Top level makefile, the real shit is at src/Makefile
 
-TARGETS=32bit noopt test install
+TARGETS=32bit noopt test
 
 all:
        cd src && $(MAKE) $@
 
-$(TARGETS) clean:
+install: dummy
        cd src && $(MAKE) $@
+
+clean:
+       cd src && $(MAKE) $@
+       cd deps/hiredis && $(MAKE) $@
+       cd deps/linenoise && $(MAKE) $@
+
+$(TARGETS):
+       cd src && $(MAKE) $@
+
+src/help.h:
+       @./utils/generate-command-help.rb > $@
+
+dummy: