mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-07 08:28:30 -04:00
bd00beaf99
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
14 lines
236 B
Makefile
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
|