]> granicus.if.org Git - multimarkdown/commitdiff
add PHONY entries to Makefile
authorFletcher T. Penney <fletcher@fletcherpenney.net>
Sun, 28 Jun 2015 21:50:35 +0000 (17:50 -0400)
committerFletcher T. Penney <fletcher@fletcherpenney.net>
Sun, 28 Jun 2015 21:50:35 +0000 (17:50 -0400)
Makefile

index 194564df8e884e3a04d325837d52c74420bb9026..679c1536d01bc25e9f498f166f7b7633f6da5520 100644 (file)
--- 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)/*