Code and config

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.

Opened on this device, never uploadedDrop or paste another file at any time

What you see

Makefile in the viewer
NamesMakefile, makefile, GNUmakefile, and .mk files
TabsShown four spaces wide; make needs real tabs, and they are kept
Colourshighlight.js, Makefile
Extensions.makefile, .mk
UploadNone: 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

  1. Add your Makefile. Drop the file in the box, choose it or paste it.
  2. Look at it. The rules with line numbers and colours for targets, variables and comments, with Wrap lines and Copy.
  3. 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.

Related