You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
297 B

# minimal makefile setup for ARM linux targets
COMPILER ?= arm-linux-gnueabihf-gcc
AP_MODULE_PATH="../../.."
CFLAGS=-Wall -fPIC -g -shared -I$(AP_MODULE_PATH)
all: moduletest.so
moduletest.so: moduletest.c
$(COMPILER) $(CFLAGS) -o moduletest.so moduletest.c -ldl
clean:
rm -f moduletest.so