local_target_dir := $(TARGET_OUT_DATA)/local/tmp
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_SRC_FILES:=    \
    pagingtest.c    \
    mmap_test.c      \
    pageinout_test.c \
    thrashing_test.c

LOCAL_CFLAGS := -std=gnu11

LOCAL_MODULE:= pagingtest

LOCAL_MODULE_TAGS := tests

LOCAL_MODULE_PATH := $(local_target_dir)
LOCAL_MULTILIB := both
LOCAL_MODULE_STEM_32 := pagingtest
LOCAL_MODULE_STEM_64 := pagingtest64

include $(BUILD_EXECUTABLE)