ardupilot/Makefile

28 lines
513 B
Makefile

# 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)