Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed-rtos mbed HardwareInterface
Fork of NerfUS_cmake_cleanup by
Diff: build/Makefile
- Revision:
- 4:8b9f91de6cf1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build/Makefile Sat Feb 04 22:58:57 2017 -0500 @@ -0,0 +1,312 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.5 + +# Default target executed when no arguments are given to make. +default_target: all + +.PHONY : default_target + +# Allow only one "make -f Makefile2" at a time, but pass parallelism. +.NOTPARALLEL: + + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + + +# A target that is always out of date. +cmake_force: + +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/bin/cmake + +# The command to remove a file. +RM = /usr/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /home/webf0x/Desktop/nerfus_trying_to_get_it_to_run_tests_on_pc/NerfUS + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /home/webf0x/Desktop/nerfus_trying_to_get_it_to_run_tests_on_pc/NerfUS/build + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /usr/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /usr/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components + +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache + +.PHONY : rebuild_cache/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip + +.PHONY : install/strip/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local + +.PHONY : install/local/fast + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /usr/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache + +.PHONY : edit_cache/fast + +# The main all target +all: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/webf0x/Desktop/nerfus_trying_to_get_it_to_run_tests_on_pc/NerfUS/build/CMakeFiles /home/webf0x/Desktop/nerfus_trying_to_get_it_to_run_tests_on_pc/NerfUS/build/CMakeFiles/progress.marks + $(MAKE) -f CMakeFiles/Makefile2 all + $(CMAKE_COMMAND) -E cmake_progress_start /home/webf0x/Desktop/nerfus_trying_to_get_it_to_run_tests_on_pc/NerfUS/build/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + $(MAKE) -f CMakeFiles/Makefile2 clean +.PHONY : clean + +# The main clean target +clean/fast: clean + +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + $(MAKE) -f CMakeFiles/Makefile2 preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + $(MAKE) -f CMakeFiles/Makefile2 preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +#============================================================================= +# Target rules for targets named run_unit_tests + +# Build rule for target. +run_unit_tests: cmake_check_build_system + $(MAKE) -f CMakeFiles/Makefile2 run_unit_tests +.PHONY : run_unit_tests + +# fast build rule for target. +run_unit_tests/fast: + $(MAKE) -f CMakeFiles/run_unit_tests.dir/build.make CMakeFiles/run_unit_tests.dir/build +.PHONY : run_unit_tests/fast + +#============================================================================= +# Target rules for targets named gmock + +# Build rule for target. +gmock: cmake_check_build_system + $(MAKE) -f CMakeFiles/Makefile2 gmock +.PHONY : gmock + +# fast build rule for target. +gmock/fast: + $(MAKE) -f googletest-build/googlemock/CMakeFiles/gmock.dir/build.make googletest-build/googlemock/CMakeFiles/gmock.dir/build +.PHONY : gmock/fast + +#============================================================================= +# Target rules for targets named gmock_main + +# Build rule for target. +gmock_main: cmake_check_build_system + $(MAKE) -f CMakeFiles/Makefile2 gmock_main +.PHONY : gmock_main + +# fast build rule for target. +gmock_main/fast: + $(MAKE) -f googletest-build/googlemock/CMakeFiles/gmock_main.dir/build.make googletest-build/googlemock/CMakeFiles/gmock_main.dir/build +.PHONY : gmock_main/fast + +#============================================================================= +# Target rules for targets named gtest + +# Build rule for target. +gtest: cmake_check_build_system + $(MAKE) -f CMakeFiles/Makefile2 gtest +.PHONY : gtest + +# fast build rule for target. +gtest/fast: + $(MAKE) -f googletest-build/googlemock/gtest/CMakeFiles/gtest.dir/build.make googletest-build/googlemock/gtest/CMakeFiles/gtest.dir/build +.PHONY : gtest/fast + +#============================================================================= +# Target rules for targets named gtest_main + +# Build rule for target. +gtest_main: cmake_check_build_system + $(MAKE) -f CMakeFiles/Makefile2 gtest_main +.PHONY : gtest_main + +# fast build rule for target. +gtest_main/fast: + $(MAKE) -f googletest-build/googlemock/gtest/CMakeFiles/gtest_main.dir/build.make googletest-build/googlemock/gtest/CMakeFiles/gtest_main.dir/build +.PHONY : gtest_main/fast + +TESTS/GoogleMockTest.o: TESTS/GoogleMockTest.cpp.o + +.PHONY : TESTS/GoogleMockTest.o + +# target to build an object file +TESTS/GoogleMockTest.cpp.o: + $(MAKE) -f CMakeFiles/run_unit_tests.dir/build.make CMakeFiles/run_unit_tests.dir/TESTS/GoogleMockTest.cpp.o +.PHONY : TESTS/GoogleMockTest.cpp.o + +TESTS/GoogleMockTest.i: TESTS/GoogleMockTest.cpp.i + +.PHONY : TESTS/GoogleMockTest.i + +# target to preprocess a source file +TESTS/GoogleMockTest.cpp.i: + $(MAKE) -f CMakeFiles/run_unit_tests.dir/build.make CMakeFiles/run_unit_tests.dir/TESTS/GoogleMockTest.cpp.i +.PHONY : TESTS/GoogleMockTest.cpp.i + +TESTS/GoogleMockTest.s: TESTS/GoogleMockTest.cpp.s + +.PHONY : TESTS/GoogleMockTest.s + +# target to generate assembly for a file +TESTS/GoogleMockTest.cpp.s: + $(MAKE) -f CMakeFiles/run_unit_tests.dir/build.make CMakeFiles/run_unit_tests.dir/TESTS/GoogleMockTest.cpp.s +.PHONY : TESTS/GoogleMockTest.cpp.s + +TESTS/GoogleTestTest.o: TESTS/GoogleTestTest.cpp.o + +.PHONY : TESTS/GoogleTestTest.o + +# target to build an object file +TESTS/GoogleTestTest.cpp.o: + $(MAKE) -f CMakeFiles/run_unit_tests.dir/build.make CMakeFiles/run_unit_tests.dir/TESTS/GoogleTestTest.cpp.o +.PHONY : TESTS/GoogleTestTest.cpp.o + +TESTS/GoogleTestTest.i: TESTS/GoogleTestTest.cpp.i + +.PHONY : TESTS/GoogleTestTest.i + +# target to preprocess a source file +TESTS/GoogleTestTest.cpp.i: + $(MAKE) -f CMakeFiles/run_unit_tests.dir/build.make CMakeFiles/run_unit_tests.dir/TESTS/GoogleTestTest.cpp.i +.PHONY : TESTS/GoogleTestTest.cpp.i + +TESTS/GoogleTestTest.s: TESTS/GoogleTestTest.cpp.s + +.PHONY : TESTS/GoogleTestTest.s + +# target to generate assembly for a file +TESTS/GoogleTestTest.cpp.s: + $(MAKE) -f CMakeFiles/run_unit_tests.dir/build.make CMakeFiles/run_unit_tests.dir/TESTS/GoogleTestTest.cpp.s +.PHONY : TESTS/GoogleTestTest.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... install" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... install/strip" + @echo "... install/local" + @echo "... run_unit_tests" + @echo "... edit_cache" + @echo "... gmock" + @echo "... gmock_main" + @echo "... gtest" + @echo "... gtest_main" + @echo "... TESTS/GoogleMockTest.o" + @echo "... TESTS/GoogleMockTest.i" + @echo "... TESTS/GoogleMockTest.s" + @echo "... TESTS/GoogleTestTest.o" + @echo "... TESTS/GoogleTestTest.i" + @echo "... TESTS/GoogleTestTest.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system +
