.mk 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 | .mak |
Domande frequenti
Che cos’è un file .mk?
Un file .mk è un formato di tipo «File compilazione Makefile» (tipo MIME text/x-makefile).
Come apro un file .mk?
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 .mk?
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.mk verifica il tipo reale indipendentemente dall’estensione.
Su quale formato si basa .mk?
Tecnicamente un file .mk è 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 .mk?
Il tipo MIME è text/x-makefile. Nel server web Apache: AddType text/x-makefile .mk; in nginx: types { text/x-makefile mk; }.