Android native exec file Hello world
2017/11/22 16:20
瀏覽105
迴響0
推薦0
引用0
//---hello.c
#include <stdio.h>
int main(int argc, char **argv)
{
printf("Hello world!\n");
return 0;
}
//---Android.mk
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES:= \
hello.c
LOCAL_MODULE := helloworld
include $(BUILD_EXECUTABLE)
你可能會有興趣的文章:
限會員,要發表迴響,請先登入

