22 lines
353 B
Makefile
22 lines
353 B
Makefile
CONFIG_SLAB_CANARY := true
|
|
|
|
ifeq (,$(filter $(CONFIG_SLAB_CANARY),true false))
|
|
$(error CONFIG_SLAB_CANARY must be true or false)
|
|
endif
|
|
|
|
LDLIBS := -lpthread
|
|
|
|
CPPFLAGS += \
|
|
-DSLAB_CANARY=$(CONFIG_SLAB_CANARY)
|
|
|
|
EXECUTABLES := \
|
|
offset \
|
|
mallinfo \
|
|
malloc_info \
|
|
large_array_growth
|
|
|
|
all: $(EXECUTABLES)
|
|
|
|
clean:
|
|
rm -f $(EXECUTABLES)
|