# SPDX-License-Identifier: CC0-1.0 # # Copyright (C) 2024 W. Kosior CC = gcc CFLAGS = -std=c11 -Wall -Wextra -Werror poly_mul: poly_mul.o $(CC) -lflint -lgmp -o $@ $^ # For fans of old librebooted ThinkPads — the FLINT build in some distros (at # least Guix) uses processor instructions not available in old Core 2 Duo # processors… For mere testing it is enough tu run with QEMU emulation, tho. run_poly_mul: poly_mul guix shell qemu -- qemu-x86_64 -cpu max $< .PHONY: run_poly_mul