]> git.saurik.com Git - redis.git/blobdiff - Makefile
Sentinel: fixed a crash on script execution.
[redis.git] / Makefile
index 44df36f5e35038de0b8cf958d0f4d99f3a345e5e..e614ede891f2dd183a3ae41ea1ac3b63fe2e7634 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,23 +1,11 @@
 # Top level makefile, the real shit is at src/Makefile
 
-TARGETS=32bit noopt test
+default: all
 
-all:
+.DEFAULT:
        cd src && $(MAKE) $@
 
-install: dummy
+install:
        cd src && $(MAKE) $@
 
-clean:
-       cd src && $(MAKE) $@
-       cd deps/hiredis && $(MAKE) $@
-       cd deps/linenoise && $(MAKE) $@
-       -(cd deps/jemalloc && $(MAKE) distclean)
-
-$(TARGETS):
-       cd src && $(MAKE) $@
-
-src/help.h:
-       @./utils/generate-command-help.rb > $@
-
-dummy:
+.PHONY: install