.mak File compilazione Makefile
Testo e codice sorgente
| Tipo MIME | text/x-makefile |
|---|---|
| Descrizione | File compilazione Makefile |
| Categoria | Testo e codice sorgente |
| Firma (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) |
| Basato su | text/plain |
| Altre estensioni | .mk |
Domande frequenti
Che cos’è un file .mak?
Un file .mak è un formato di tipo «File compilazione Makefile» (tipo MIME text/x-makefile).
Come apro un file .mak?
Con qualsiasi editor di testo: Notepad++, Visual Studio Code, oppure gedit e vim su Linux. Il file contiene testo leggibile, eventualmente codice sorgente o configurazione.
Come si riconosce un vero file .mak?
Dai byte all’inizio del file, la firma (magic bytes): 23 21 20 2F 75 73 72 2F 62 69 6E 2F 6D 61 6B 65 (#! /usr/bin/make) e 23 21 2F 75 73 72 2F 62 69 6E 2F 6D 61 6B 65 (#!/usr/bin/make). Su Linux e macOS, file --mime-type example.mak verifica il tipo reale indipendentemente dall’estensione.
Su quale formato si basa .mak?
Tecnicamente un file .mak è un sottotipo di «Documento in testo semplice» (text/plain), quindi i programmi per quel formato di base spesso riescono a leggerlo.
Quale tipo MIME corrisponde a .mak?
Il tipo MIME è text/x-makefile. Nel server web Apache: AddType text/x-makefile .mak; in nginx: types { text/x-makefile mak; }.