From 428216caffe8e04b1959b7171ad2de9ebb540c50 Mon Sep 17 00:00:00 2001 From: foswret Date: Tue, 12 May 2026 19:02:50 -0500 Subject: switch from pkg-config to pkgconf, pull in MagickWand library, move image-related functions to image.h, create resize_image(), get_image_width() and get_image_height --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 65a749f..7448222 100644 --- a/Makefile +++ b/Makefile @@ -2,13 +2,13 @@ VERSION = 0.0 PREFIX = /usr/local CC = cc DIR = src -OBJS = $(DIR)/calp.o $(DIR)/draw.o $(DIR)/date.o +OBJS = $(DIR)/calp.o $(DIR)/draw.o $(DIR)/date.o $(DIR)/image.o .PHONY: clean all install TARGET = calp -CFLAGS = `pkg-config --cflags pangocairo` -O2 -g -Wall -Werror -Wextra -Winit-self -Wuninitialized -pedantic -LFLAGS = `pkg-config --libs pangocairo` -lm +CFLAGS = `pkgconf --cflags pangocairo MagickWand` -O2 -g -Wall -Werror -Wextra -Winit-self -Wuninitialized -pedantic +LFLAGS = `pkgconf --libs pangocairo MagickWand` -lm all: $(TARGET) -- cgit v1.2.3