hardened_malloc/test/Makefile

24 lines
459 B
Makefile
Raw Permalink Normal View History

2018-11-16 21:25:35 +01:00
CONFIG_SLAB_CANARY := true
CONFIG_EXTENDED_SIZE_CLASSES := true
2018-11-16 21:25:35 +01:00
ifeq (,$(filter $(CONFIG_SLAB_CANARY),true false))
$(error CONFIG_SLAB_CANARY must be true or false)
endif
2019-04-30 22:54:58 +02:00
LDLIBS := -lpthread
2018-11-16 21:25:35 +01:00
CPPFLAGS += \
-DSLAB_CANARY=$(CONFIG_SLAB_CANARY) \
-DCONFIG_EXTENDED_SIZE_CLASSES=$(CONFIG_EXTENDED_SIZE_CLASSES)
2018-11-16 21:25:35 +01:00
2018-10-04 08:40:51 +02:00
EXECUTABLES := \
offset \
2019-04-30 22:47:06 +02:00
mallinfo \
2019-04-30 22:54:58 +02:00
malloc_info \
2019-04-30 22:47:06 +02:00
large_array_growth
2018-10-04 08:40:51 +02:00
all: $(EXECUTABLES)
clean:
rm -f $(EXECUTABLES)