From e25948c1b5cd56d0df0a30efc1217342b2ae06fa Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 3 Jun 2015 06:32:10 +1000 Subject: [PATCH] build: simple top level makefile this is to make it easier to integrate with static analysis tools --- Makefile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000..133b1fad97 --- /dev/null +++ b/Makefile @@ -0,0 +1,27 @@ +# top level makefile to build SITL for primary vehicle targets. +# Useful for static analysis tools + +all: sitl + +sitl: TARGET=sitl +sitl: plane copter rover antennatracker + +linux: TARGET=linux +linux: plane copter rover antennatracker + +clean: TARGET=clean +clean: plane copter rover antennatracker + +.PHONY: plane copter rover antennatracker + +plane: + make -C ArduPlane $(TARGET) + +copter: + make -C ArduCopter $(TARGET) + +rover: + make -C APMrover2 $(TARGET) + +antennatracker: + make -C AntennaTracker $(TARGET)