ardupilot/libraries/AP_Module/examples/ModuleTest/module/Makefile
Andrew Tridgell bd00beaf99 AP_Module: added external module hook library
this allows for external modules to be called at defined hook
locations in ArduPilot. The initial example is a module that consumes
the AHRS state, but this can be generalised to a wide variety of hooks
2016-07-14 13:39:46 +10:00

14 lines
236 B
Makefile

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