.gitignore for libogc
58 ignore rules for libogc, ready to copy into your repository.
Library for GameCube/Wii development
The complete .gitignore for libogc
# Generated by LFGitignore - https://lfgitignore.com
# Created: 2026-08-05 01:29:32 UTC
# Technologies: libogc
### libogc ###
*.d
# Build output directory
build/
# Object file
*.o
meta.xml
*.ko
icon.png
# Object file
*.obj
# Visual Studio Code settings
.vscode/
*.elf
# IntelliJ IDEA project files
.idea/
*.gch
*.ilk
# Sublime Text project file
*.sublime-project
*.map
*.pch
# Sublime Text workspace
*.sublime-workspace
*.exp
# Emacs backup files
*~
# Backup file
*.bak
# Vim swap file
*.swp
# Library file
*.lib
# Temporary files
*.tmp
# Static library
*.a
# Log file
*.log
*.la
# Library directory
lib/
*.lo
deps/
# Dynamic link library
*.dll
obj/
# Windows recycle bin
$RECYCLE.BIN/
# Shared object
*.so
# Versioned shared object
*.so.*
.Trash-1000/
# macOS dynamic library
*.dylib
.Spotlight-V100/
# Windows executable
*.exe
.fseventsd/
# Compiler output
*.out
# macOS folder settings (Desktop Services Store)
.DS_Store
# Application bundle
*.app
# 32-bit x86 binary
*.i*86
# 64-bit x86 binary
*.x86_64
# Hex dump file
*.hex
# macOS debug symbols
*.dSYM/
# Stack usage file
*.su
*.bin
# Intermediate debug file
*.idb
# Program debug database
*.pdb
*.mod*
*.cmd
.tmp_versions/
modules.order
Module.symvers
Mkfile.old
dkms.conf
*.dol
What these libogc rules actually ignore
Every pattern below, and why it belongs in your .gitignore.
Prerequisites
| Pattern | What it ignores |
|---|---|
*.d |
Prerequisites |
Ignore build directories
| Pattern | What it ignores |
|---|---|
build/ |
Build output directory |
Object files
| Pattern | What it ignores |
|---|---|
*.o |
Object file |
*.ko |
Object files |
*.obj |
Object file |
*.elf |
Object files |
*.bin |
Object files |
Ignore Wii-specific metadata files
| Pattern | What it ignores |
|---|---|
meta.xml |
Ignore Wii-specific metadata files |
icon.png |
Ignore Wii-specific metadata files |
Ignore editor or IDE-specific files
| Pattern | What it ignores |
|---|---|
.vscode/ |
Visual Studio Code settings |
.idea/ |
IntelliJ IDEA project files |
*.sublime-project |
Sublime Text project file |
*.sublime-workspace |
Sublime Text workspace |
Precompiled Headers
| Pattern | What it ignores |
|---|---|
*.gch |
Precompiled Headers |
*.pch |
Precompiled Headers |
Linker output
| Pattern | What it ignores |
|---|---|
*.ilk |
Linker output |
*.map |
Linker output |
*.exp |
Linker output |
Ignore backup or temporary files
| Pattern | What it ignores |
|---|---|
*~ |
Emacs backup files |
*.bak |
Backup file |
*.swp |
Vim swap file |
*.tmp |
Temporary files |
Libraries
| Pattern | What it ignores |
|---|---|
*.lib |
Library file |
*.a |
Static library |
*.la |
Libraries |
*.lo |
Libraries |
Ignore log files
| Pattern | What it ignores |
|---|---|
*.log |
Log file |
Ignore libraries and dependencies
| Pattern | What it ignores |
|---|---|
lib/ |
Library directory |
deps/ |
Ignore libraries and dependencies |
obj/ |
Ignore libraries and dependencies |
Shared objects (inc. Windows DLLs)
| Pattern | What it ignores |
|---|---|
*.dll |
Dynamic link library |
*.so |
Shared object |
*.so.* |
Versioned shared object |
*.dylib |
macOS dynamic library |
Ignore operating system-specific files
| Pattern | What it ignores |
|---|---|
$RECYCLE.BIN/ |
Windows recycle bin |
.Trash-1000/ |
Ignore operating system-specific files |
.Spotlight-V100/ |
Ignore operating system-specific files |
.fseventsd/ |
Ignore operating system-specific files |
.DS_Store |
macOS folder settings (Desktop Services Store) |
Executables
| Pattern | What it ignores |
|---|---|
*.exe |
Windows executable |
*.out |
Compiler output |
*.app |
Application bundle |
*.i*86 |
32-bit x86 binary |
*.x86_64 |
64-bit x86 binary |
*.hex |
Hex dump file |
*.dol |
Executables |
*.elf |
Executables |
Debug files
| Pattern | What it ignores |
|---|---|
*.dSYM/ |
macOS debug symbols |
*.su |
Stack usage file |
*.idb |
Intermediate debug file |
*.pdb |
Program debug database |
Kernel Module Compile Results
| Pattern | What it ignores |
|---|---|
*.mod* |
Kernel Module Compile Results |
*.cmd |
Kernel Module Compile Results |
.tmp_versions/ |
Kernel Module Compile Results |
modules.order |
Kernel Module Compile Results |
Module.symvers |
Kernel Module Compile Results |
Mkfile.old |
Kernel Module Compile Results |
dkms.conf |
Kernel Module Compile Results |
How to use this .gitignore for libogc
- Copy the libogc rules above, or download the file directly.
- Create a file named .gitignore at the root of your Git repository and paste the rules into it.
- If some of those files are already tracked, run git rm -r --cached . then commit again — Git only applies ignore rules to untracked files.
- Commit the .gitignore so everyone on the team shares the same rules.