diff options
author | Nao Pross <naopross@thearcway.org> | 2018-10-31 20:34:10 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2018-10-31 20:34:10 +0100 |
commit | 044a4181fb2f6730714489e06a9127240e21595c (patch) | |
tree | 14310f175376272b302267b59c67c618e89876bf /sw-linux/rom-loader/Makefile | |
parent | Update gitignore (diff) | |
download | z80uPC-044a4181fb2f6730714489e06a9127240e21595c.tar.gz z80uPC-044a4181fb2f6730714489e06a9127240e21595c.zip |
[linux] Add initial implementation of rom-loader
Diffstat (limited to 'sw-linux/rom-loader/Makefile')
-rw-r--r-- | sw-linux/rom-loader/Makefile | 208 |
1 files changed, 208 insertions, 0 deletions
diff --git a/sw-linux/rom-loader/Makefile b/sw-linux/rom-loader/Makefile new file mode 100644 index 0000000..c07b827 --- /dev/null +++ b/sw-linux/rom-loader/Makefile @@ -0,0 +1,208 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.7 + +# 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/naopross/docs/projects/z80uPC/sw-linux/rom-loader + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /home/naopross/docs/projects/z80uPC/sw-linux/rom-loader + +#============================================================================= +# Targets provided globally by CMake. + +# 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 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/naopross/docs/projects/z80uPC/sw-linux/rom-loader/CMakeFiles /home/naopross/docs/projects/z80uPC/sw-linux/rom-loader/CMakeFiles/progress.marks + $(MAKE) -f CMakeFiles/Makefile2 all + $(CMAKE_COMMAND) -E cmake_progress_start /home/naopross/docs/projects/z80uPC/sw-linux/rom-loader/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 rom-loader + +# Build rule for target. +rom-loader: cmake_check_build_system + $(MAKE) -f CMakeFiles/Makefile2 rom-loader +.PHONY : rom-loader + +# fast build rule for target. +rom-loader/fast: + $(MAKE) -f CMakeFiles/rom-loader.dir/build.make CMakeFiles/rom-loader.dir/build +.PHONY : rom-loader/fast + +main.o: main.cpp.o + +.PHONY : main.o + +# target to build an object file +main.cpp.o: + $(MAKE) -f CMakeFiles/rom-loader.dir/build.make CMakeFiles/rom-loader.dir/main.cpp.o +.PHONY : main.cpp.o + +main.i: main.cpp.i + +.PHONY : main.i + +# target to preprocess a source file +main.cpp.i: + $(MAKE) -f CMakeFiles/rom-loader.dir/build.make CMakeFiles/rom-loader.dir/main.cpp.i +.PHONY : main.cpp.i + +main.s: main.cpp.s + +.PHONY : main.s + +# target to generate assembly for a file +main.cpp.s: + $(MAKE) -f CMakeFiles/rom-loader.dir/build.make CMakeFiles/rom-loader.dir/main.cpp.s +.PHONY : main.cpp.s + +serial.o: serial.cpp.o + +.PHONY : serial.o + +# target to build an object file +serial.cpp.o: + $(MAKE) -f CMakeFiles/rom-loader.dir/build.make CMakeFiles/rom-loader.dir/serial.cpp.o +.PHONY : serial.cpp.o + +serial.i: serial.cpp.i + +.PHONY : serial.i + +# target to preprocess a source file +serial.cpp.i: + $(MAKE) -f CMakeFiles/rom-loader.dir/build.make CMakeFiles/rom-loader.dir/serial.cpp.i +.PHONY : serial.cpp.i + +serial.s: serial.cpp.s + +.PHONY : serial.s + +# target to generate assembly for a file +serial.cpp.s: + $(MAKE) -f CMakeFiles/rom-loader.dir/build.make CMakeFiles/rom-loader.dir/serial.cpp.s +.PHONY : serial.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 "... rebuild_cache" + @echo "... edit_cache" + @echo "... rom-loader" + @echo "... main.o" + @echo "... main.i" + @echo "... main.s" + @echo "... serial.o" + @echo "... serial.i" + @echo "... serial.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 + |