mirror of
https://github.com/redis/redis.git
synced 2025-12-18 21:46:08 -05:00
Redis modules do not support 32-bit architectures. The build now fails early when modules are enabled on such systems.
19 lines
426 B
Makefile
19 lines
426 B
Makefile
# Top level makefile, the real stuff is at ./src/Makefile and in ./modules/Makefile
|
|
|
|
SUBDIRS = src
|
|
ifeq ($(BUILD_WITH_MODULES), yes)
|
|
ifeq ($(MAKECMDGOALS),32bit)
|
|
$(error BUILD_WITH_MODULES=yes is not supported on 32 bit systems)
|
|
endif
|
|
SUBDIRS += modules
|
|
endif
|
|
|
|
default: all
|
|
|
|
.DEFAULT:
|
|
for dir in $(SUBDIRS); do $(MAKE) -C $$dir $@; done
|
|
|
|
install:
|
|
for dir in $(SUBDIRS); do $(MAKE) -C $$dir $@; done
|
|
|
|
.PHONY: install
|