Ardupilot2/ArduPlane/Makefile

23 lines
363 B
Makefile
Raw Normal View History

ifeq ($(APPDIR),)
####################
# AVR and SITL build
2012-12-18 14:54:22 -04:00
include ../mk/Arduino.mk
2012-12-18 17:53:59 -04:00
include ../mk/targets.mk
2012-12-18 20:33:05 -04:00
sitl-newcontrollers: EXTRAFLAGS += "-DAPM_CONTROL=ENABLED "
sitl-newcontrollers: sitl
else
####################
# PX4 build
APPNAME = ArduPlane
PRIORITY = SCHED_PRIORITY_DEFAULT
STACKSIZE = 4096
SKETCHBOOK=..
include $(APPDIR)/mk/apm.mk
endif