mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
49871c7f2f
* Add file for non-recursive merge sort Add the source file (sorting/non_recursive_merge_sort.cpp) which defines the function template "non_recursive_merge_sort" in different forms, along with a helper function merge. Moreover, it creates 2 additional files, doxy.txt for Doxygen configuration, and a makefile to automate building, testing and cleaning. * Add file for non-recursive merge sort Add the source file (sorting/non_recursive_merge_sort.cpp) which defines the function template "non_recursive_merge_sort" in different forms, along with a helper function merge. Moreover, it creates 2 additional files, doxy.txt for Doxygen configuration, and a makefile to automate building, testing and cleaning. * GitHub Action to cd sorting ; make doc ; make doc * updating DIRECTORY.md * Fix indentation error * uses: mattnotmitt/doxygen-action@master * doxyfile-path: 'sorting/' * doxyfile-path: 'sorting/doxy.txt' * working-directory: '.' * Update sorting_non_recursive_merge_sort.yml * Update sorting_non_recursive_merge_sort.yml * Update sorting_non_recursive_merge_sort.yml * Publish HTML to GitHub Pages * Update sorting_non_recursive_merge_sort.yml Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
12 lines
303 B
Makefile
12 lines
303 B
Makefile
non_recursive_merge_sort: non_recursive_merge_sort.cpp
|
|
g++ -std=c++17 -o non_recursive_merge_sort non_recursive_merge_sort.cpp
|
|
.PHONY: test
|
|
.PHONY: doc
|
|
.PHONY: clean
|
|
test: non_recursive_merge_sort
|
|
./non_recursive_merge_sort
|
|
doc: doxy.txt
|
|
doxygen doxy.txt
|
|
clean:
|
|
rm -fr non_recursive_merge_sort html
|