mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
[build] mark some targets as phony
This commit is contained in:
@@ -84,7 +84,7 @@ conf/%.xml :conf/%.xml.example
|
||||
|
||||
conf/maps.xml: conf/maps.xml.example FORCE
|
||||
-cd data/maps; $(MAKE)
|
||||
if test ! -e $@; then cp $< $@; fi
|
||||
$(Q)if test ! -e $@; then cp $< $@; fi
|
||||
|
||||
FORCE:
|
||||
|
||||
@@ -282,3 +282,4 @@ run_tests:
|
||||
|
||||
test: all replace_current_conf_xml run_tests restore_conf_xml
|
||||
|
||||
.PHONY: all print_build_version clean cleanspaces ab_clean dist_clean distclean dist_clean_irreversible doxygen run_sitl install uninstall test replace_current_conf_xml run_tests restore_conf_xml
|
||||
|
||||
@@ -182,3 +182,5 @@ hard_ac ac: ac_h fbw ap
|
||||
clean_ac :
|
||||
$(Q)if (expr "$(AIRCRAFT)"); then : ; else echo "AIRCRAFT undefined: type 'make AIRCRAFT=AircraftName ...'"; exit 1; fi
|
||||
rm -fr $(PAPARAZZI_HOME)/var/$(AIRCRAFT)
|
||||
|
||||
.PHONY: all clean_ac print_version
|
||||
|
||||
@@ -156,6 +156,7 @@ gtk_papget_led_editor.ml : widgets.glade
|
||||
clean :
|
||||
rm -f *~ *.cm* *.out *.opt .depend *.a *.o *.so tests gtk_papget_*.ml expr_parser.ml expr_parser.mli expr_lexer.ml expr_lexer.mli
|
||||
|
||||
.PHONY: all opt clean
|
||||
|
||||
#
|
||||
# Dependencies
|
||||
|
||||
Reference in New Issue
Block a user