mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-07 17:49:49 +08:00
New target "test"; conf.xml (control_panel.xml) linked to .example if
not exists
This commit is contained in:
@@ -34,19 +34,26 @@ WIND=sw/ground_segment/wind
|
||||
VISU3D=sw/ground_segment/visu3d
|
||||
LOGALIZER=sw/logalizer
|
||||
SIMULATOR=sw/simulator
|
||||
SUPERVISION=sw/supervision/paparazzi.pl
|
||||
MAKE=make
|
||||
|
||||
all: static ac1 ac2
|
||||
all: static
|
||||
|
||||
static : lib tools configurator cockpit tmtc visu3d logalizer sim_static wind static_h multimon
|
||||
|
||||
ac1 :
|
||||
make AIRCRAFT=Thon1 ac
|
||||
ac2 :
|
||||
make AIRCRAFT=Thon2 ac
|
||||
conf: conf/conf.xml conf/control_panel.xml
|
||||
|
||||
configure : configurator
|
||||
PAPARAZZI_DIR=`pwd` $(CONFIGURATOR)/configurator
|
||||
conf/%.xml :conf/%.xml.example
|
||||
[ -L $@ ] || [ -f $@ ] || ln -s `basename $<` $@
|
||||
|
||||
|
||||
test: conf ac1 ac2
|
||||
PAPARAZZI_HOME=$(PAPARAZZI_SRC) PAPARAZZI_SRC=$(PAPARAZZI_SRC) $(SUPERVISION)
|
||||
|
||||
ac1 :
|
||||
make AIRCRAFT=Twin1 PAPARAZZI_HOME=$(PAPARAZZI_SRC) ac
|
||||
ac2 :
|
||||
make AIRCRAFT=Twin2 PAPARAZZI_HOME=$(PAPARAZZI_SRC) ac
|
||||
|
||||
lib:
|
||||
cd $(LIB)/ocaml; $(MAKE)
|
||||
|
||||
Reference in New Issue
Block a user