]> git.saurik.com Git - redis.git/blobdiff - Makefile
Define _XOPEN_SOURCE appropriately on NetBSD.
[redis.git] / Makefile
index b72faa1b18c88b8a491deca9d9ebe5e3c1a95f64..e614ede891f2dd183a3ae41ea1ac3b63fe2e7634 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,22 +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) $@
-
-$(TARGETS):
-       cd src && $(MAKE) $@
-
-src/help.h:
-       @./utils/generate-command-help.rb > $@
-
-dummy:
+.PHONY: install