forked from redis/redis
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
top level Makefile now just a proxy. Doing make clean inside src now …
…does a full clean including deps, not just Redis source. Thanks to Pieter for the top level Makefile proxy trick.
- Loading branch information
Showing
2 changed files
with
9 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,7 @@ | ||
# Top level makefile, the real shit is at src/Makefile | ||
|
||
TARGETS=32bit noopt test | ||
default: all | ||
|
||
all: | ||
.DEFAULT: | ||
cd src && $(MAKE) $@ | ||
|
||
install: dummy | ||
cd src && $(MAKE) $@ | ||
|
||
clean: | ||
cd src && $(MAKE) $@ | ||
cd deps/hiredis && $(MAKE) $@ | ||
cd deps/linenoise && $(MAKE) $@ | ||
cd deps/jemalloc && $(MAKE) distclean | ||
cd deps/lua && $(MAKE) $@ | ||
-(cd deps/jemalloc && $(MAKE) distclean) | ||
|
||
$(TARGETS): | ||
cd src && $(MAKE) $@ | ||
|
||
src/help.h: | ||
@./utils/generate-command-help.rb > $@ | ||
|
||
dummy: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters