Skip to content

lie/cpp-dir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpp-dir

Generic Makefile and directory structure for C++

Directory Structure

📁 example/
┃
┣━📁 bin/
┃  ┗━📄 example     -- Executable file
┃
┣━📁 src/           -- .cpp source files
┃  ┣━📄 main.cpp
┃  ┣━📄 bar.cpp
┃  ┗━📁 dirsample/
┃     ┗━📄 foo.cpp
┃
┣━📁 include/       -- .hpp header files
┃  ┣━📄 alllib.hpp
┃  ┗━📄 foobar.hpp
┃
┣━📁 obj/           -- .o object files and .d dependency files
┃  ┣━📄 main.o
┃  ┣━📄 main.d
┃  ┣━📄 bar.o
┃  ┣━📄 bar.d
┃  ┗━📁 dirsample/
┃     ┣━📄 foo.o
┃     ┗━📄 foo.d
┃
┣━📁 docs/          -- Doxygen HTML documents
┃ 
┗━📄 Makefile

Reference

シンプルで応用の効くmakefileとその解説 - URIN HACK

About

Generic Makefile and directory structure for C++

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published