summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2015-04-17 16:34:21 -0400
committerEugeniy Mikhailov <evgmik@gmail.com>2015-04-17 16:34:21 -0400
commit0dd842d2cd4c0394c8212733795b4a1e039c37ed (patch)
tree220462a29c74d6915bf3c41907f4d8d302768d3d
parenta4d24e574d078dac6b2e3e9046406e24935019f0 (diff)
downloadmakefile_templates-0dd842d2cd4c0394c8212733795b4a1e039c37ed.tar.gz
makefile_templates-0dd842d2cd4c0394c8212733795b4a1e039c37ed.zip
added phony targets
-rw-r--r--pic_source_dir/Makefile2
-rw-r--r--pic_source_subdir/Makefile2
-rw-r--r--subdir_makefile/Makefile1
3 files changed, 3 insertions, 2 deletions
diff --git a/pic_source_dir/Makefile b/pic_source_dir/Makefile
index 25ac012..378589b 100644
--- a/pic_source_dir/Makefile
+++ b/pic_source_dir/Makefile
@@ -35,4 +35,4 @@ zip:
copy2dropbox:
#do nothing
-
+.PHONY: all compile clean real_clean install subdirs zip copy2dropbox
diff --git a/pic_source_subdir/Makefile b/pic_source_subdir/Makefile
index 14580d0..9ba8833 100644
--- a/pic_source_subdir/Makefile
+++ b/pic_source_subdir/Makefile
@@ -18,6 +18,7 @@ include $(MAKEINCLUDE_DIR)/dest_dirs.mk
.DEFAULT_GOAL := all
+.PHONY: all compile clean real_clean install subdirs
all: compile install
@@ -29,4 +30,3 @@ real_clean: subdirs clean $(REAL_CLEAN_TARGETS)
install: subdirs $(INSTALL_TARGETS)
-
diff --git a/subdir_makefile/Makefile b/subdir_makefile/Makefile
index 0980acf..ccf88c5 100644
--- a/subdir_makefile/Makefile
+++ b/subdir_makefile/Makefile
@@ -18,6 +18,7 @@ include $(MAKEINCLUDE_DIR)/dest_dirs.mk
.DEFAULT_GOAL := all
+.PHONY: all compile clean real_clean install subdirs
all: compile install