From: Fletcher T. Penney Date: Sun, 28 Jun 2015 21:50:35 +0000 (-0400) Subject: add PHONY entries to Makefile X-Git-Tag: 0.1.0a~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fca8712084bcf95d54c8295d0a38d7adfb2ecb98;p=multimarkdown add PHONY entries to Makefile --- 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)/*