module Hace::MakefileConverter

Overview

Converts basic GNU Makefiles into Hacefile.yml content.

Supported subset:

Anything else (conditionals, functions like $(wildcard), include, target-specific variables, static pattern rules, ...) produces a warning and is skipped; conversion never aborts because of unsupported constructs.

Extended Modules

Defined in:

makefile.cr

Constant Summary

MAKEFILE_NAMES = ["Makefile", "makefile", "GNUmakefile"] of ::String

Basenames that identify a Makefile for runtime detection.

Instance Method Summary

Instance Method Detail

def convert(content : String) : String #

Convert Makefile content into Hacefile.yml content.


[View source]
def looks_like_makefile?(filename : String) : Bool #

[View source]