# 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