.mak Makefile build file

Text & source code

MIME typetext/x-makefile
DescriptionMakefile build file
CategoryText & source code
Signature (magic bytes)23 21 20 2F 75 73 72 2F 62 69 6E 2F 6D 61 6B 65 (#! /usr/bin/make)
23 21 2F 75 73 72 2F 62 69 6E 2F 6D 61 6B 65 (#!/usr/bin/make)
Based ontext/plain
Other extensions.mk

Frequently asked questions

What is a .mak file?

A .mak file is a “Makefile build file” (MIME type text/x-makefile).

How do I open a .mak file?

With any text editor – Notepad++, Visual Studio Code, or gedit and vim on Linux. The file contains readable text, possibly source code or configuration.

How can you tell a genuine .mak file?

By the bytes at the start of the file, the signature (magic bytes): 23 21 20 2F 75 73 72 2F 62 69 6E 2F 6D 61 6B 65 (#! /usr/bin/make) and 23 21 2F 75 73 72 2F 62 69 6E 2F 6D 61 6B 65 (#!/usr/bin/make). On Linux and macOS, file --mime-type example.mak checks the real type regardless of the extension.

Which format is .mak based on?

Technically a .mak file is a subtype of “Plain text document” (text/plain), so programs for that base format can often read it too.

Which MIME type belongs to .mak?

The MIME type is text/x-makefile. In the Apache web server: AddType text/x-makefile .mak; in nginx: types { text/x-makefile mak; }.

Nearby entries