From 8e1f66d72b83b129885b6b1c7fb4afc7dea94d39 Mon Sep 17 00:00:00 2001 From: Felix Ruess Date: Sat, 29 Sep 2012 13:45:22 +0200 Subject: [PATCH] [build] mark some targets as phony --- Makefile | 3 ++- Makefile.ac | 2 ++ sw/lib/ocaml/Makefile | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fdfb1604de..7ee5a26a1b 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/Makefile.ac b/Makefile.ac index d95db9779b..ca144e6f10 100644 --- a/Makefile.ac +++ b/Makefile.ac @@ -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 diff --git a/sw/lib/ocaml/Makefile b/sw/lib/ocaml/Makefile index 409be288dd..1f4f9cd655 100644 --- a/sw/lib/ocaml/Makefile +++ b/sw/lib/ocaml/Makefile @@ -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