aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorfoswret2026-05-12 19:02:50 -0500
committerfoswret2026-05-12 19:02:50 -0500
commit428216caffe8e04b1959b7171ad2de9ebb540c50 (patch)
tree53779af9d004b46314c69ec8d4e428e252e9af20 /Makefile
parent820a647eb2ad5e1b424acd72a4cf7362cfda2e8a (diff)
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
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)