Sub: add to the main makefile

This commit is contained in:
Dr.-Ing. Amilcar Do Carmo Lucas 2017-06-07 12:02:30 +02:00 committed by Francisco Ferreira
parent 82e7e44cc3
commit aee82db204
1 changed files with 7 additions and 4 deletions

View File

@ -4,15 +4,15 @@
all: sitl all: sitl
sitl: TARGET=sitl sitl: TARGET=sitl
sitl: plane copter rover antennatracker sitl: plane copter rover sub antennatracker
linux: TARGET=linux linux: TARGET=linux
linux: plane copter rover antennatracker linux: plane copter rover sub antennatracker
clean: TARGET=clean clean: TARGET=clean
clean: plane copter rover antennatracker clean: plane copter rover sub antennatracker
.PHONY: plane copter rover antennatracker .PHONY: plane copter rover sub antennatracker
plane: plane:
$(MAKE) -C ArduPlane $(TARGET) $(MAKE) -C ArduPlane $(TARGET)
@ -23,5 +23,8 @@ copter:
rover: rover:
$(MAKE) -C APMrover2 $(TARGET) $(MAKE) -C APMrover2 $(TARGET)
sub:
$(MAKE) -C ArduSub $(TARGET)
antennatracker: antennatracker:
$(MAKE) -C AntennaTracker $(TARGET) $(MAKE) -C AntennaTracker $(TARGET)