Skip to content

Instantly share code, notes, and snippets.

View Sheridan's full-sized avatar
🖥️
I may be slow to respond.

Горлов Максим Sheridan

🖥️
I may be slow to respond.
  • Минеральные Воды
  • 02:13 (UTC +03:00)
View GitHub Profile
@weshouman
weshouman / 1-simple.mk
Last active February 20, 2024 18:16
Makefile function example
PATH = /tmp/
define myfn
processed_input=${PATH}/$(2)
$(1) := $$(processed_input)
endef
mytarget:
$(eval FILE=myfile)
$(eval $(call myfn,abs_filename,$(FILE)))