.gitignore for SDCC

7 ignore rules for SDCC, ready to copy into your repository.

C compiler for microcontrollers

The complete .gitignore for SDCC

# Generated by LFGitignore - https://lfgitignore.com
# Created: 2026-08-05 01:29:32 UTC
# Technologies: SDCC

### SDCC ###
# Windows shortcut
*.lnk
*.lst
*.map
*.mem
*.rel
*.rst
*.sym

What these SDCC rules actually ignore

Every pattern below, and why it belongs in your .gitignore.

SDCC stuff

Pattern What it ignores
*.lnk Windows shortcut
*.lst SDCC stuff
*.map SDCC stuff
*.mem SDCC stuff
*.rel SDCC stuff
*.rst SDCC stuff
*.sym SDCC stuff

How to use this .gitignore for SDCC

  1. Copy the SDCC rules above, or download the file directly.
  2. Create a file named .gitignore at the root of your Git repository and paste the rules into it.
  3. If some of those files are already tracked, run git rm -r --cached . then commit again — Git only applies ignore rules to untracked files.
  4. Commit the .gitignore so everyone on the team shares the same rules.