Skip to content

Instantly share code, notes, and snippets.

View pachi's full-sized avatar

Rafael Villar Burke (Pachi) pachi

  • Madrid, Spain
View GitHub Profile
@pachi
pachi / Makefile
Created July 7, 2024 18:26
Makefile to handle Typst local template
PKG_VER:=0.1.0
PKG_NAME:=ucc-template
TYPST:=$(shell command -v typst)
TYPST_VER:=v0.11.1
SRCDIR:="./$(PKG_VER)"
ifeq ($(shell uname -s),Windows)
OS:=Windows
DATADIR:=$(shell cmd /c "echo %APPDATA%")
BINDIR:=$(shell cmd /c "echo %LOCALAPPDATA%")/Programs
@pachi
pachi / Makefile
Created April 3, 2018 14:08 — forked from Integralist/Makefile
Example of a detailed Makefile
# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.