Makefile viewer
To open a Makefile file, drop it in the box below. It opens straight away, even with no extension or the wrong one. Your browser opens it on your device: nothing is uploaded.
Open in
Opened on this device, never uploadedDrop or paste another file at any time
What you see
| Makefile in the viewer | |
|---|---|
| Names | Makefile, makefile, GNUmakefile, and .mk files |
| Tabs | Shown four spaces wide; make needs real tabs, and they are kept |
| Colours | highlight.js, Makefile |
| Extensions | .makefile, .mk |
| Upload | None: opened on your device |
What is a Makefile file?
In short
A Makefile holds the rules that make builds a project from: targets, what they need and the commands that make them.
The rules with line numbers and colours for targets, variables and comments, with Wrap lines and Copy.
How to open a Makefile file
- Add your Makefile. Drop the file in the box, choose it or paste it.
- Look at it. The rules with line numbers and colours for targets, variables and comments, with Wrap lines and Copy.
- Take it further. Download any file from inside an archive, or open another file.
Questions
A command line must start with a tab, not spaces. Copy keeps the file’s own characters, so you can check in an editor that shows tabs.
No. The viewer runs in your browser and opens the file on your device. Nothing is sent anywhere.