summaryrefslogtreecommitdiff
path: root/Makefile
blob: 691843d49a1f1b372cc773f14e9aff6d2979bf23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Top level makefile, the real shit is at src/Makefile

TARGETS=32bit noopt test

all:
	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: