From fca8712084bcf95d54c8295d0a38d7adfb2ecb98 Mon Sep 17 00:00:00 2001 From: "Fletcher T. Penney" Date: Sun, 28 Jun 2015 17:50:35 -0400 Subject: [PATCH] add PHONY entries to Makefile --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 194564d..679c153 100644 --- a/Makefile +++ b/Makefile @@ -5,31 +5,37 @@ $(BUILD_DIR_): -cd $(BUILD_DIR); rm -rf * # The release target will perform additional optimization +.PHONY : release release: $(BUILD_DIR) cd $(BUILD_DIR); \ cmake -DCMAKE_BUILD_TYPE=Release .. # Enables CuTest unit testing +.PHONY : debug debug: $(BUILD_DIR) cd $(BUILD_DIR); \ cmake -DTEST=1 .. # For Mac only +.PHONY : xcode xcode: $(BUILD_DIR) cd $(BUILD_DIR); \ cmake -G Xcode .. # Cross-compile for Windows +.PHONY : windows windows: $(BUILD_DIR) cd $(BUILD_DIR); \ cmake -DCMAKE_TOOLCHAIN_FILE=../tools/Toolchain-mingw32.cmake -DCMAKE_BUILD_TYPE=Release .. # Build the documentation using doxygen +.PHONY : documentation documentation: $(BUILD_DIR) cd $(BUILD_DIR); \ cmake -DDOCUMENTATION=1 ..; cd ..; \ doxygen build/doxygen.conf # Clean out the build directory +.PHONY : clean clean: rm -rf $(BUILD_DIR)/* -- 2.50.1