diff options
| author | foswret | 2026-05-12 19:02:50 -0500 |
|---|---|---|
| committer | foswret | 2026-05-12 19:02:50 -0500 |
| commit | 428216caffe8e04b1959b7171ad2de9ebb540c50 (patch) | |
| tree | 53779af9d004b46314c69ec8d4e428e252e9af20 /Makefile | |
| parent | 820a647eb2ad5e1b424acd72a4cf7362cfda2e8a (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-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) |
