mirror of
https://github.com/adafruit/Adafruit-GFX-Library.git
synced 2026-10-27 06:21:36 +00:00
fix(fontconvert): use pkg-config
This commit is contained in:
1 parent
d472098789
commit
b2c1e04bf4
1 file changed
+2
-2
@@ -1,8 +1,8 @@
|
||||
all: fontconvert
|
||||
|
||||
CC = gcc
|
||||
CFLAGS = -Wall -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I/usr/include
|
||||
LIBS = -lfreetype
|
||||
CFLAGS = -Wall $(shell pkg-config --cflags freetype2)
|
||||
LIBS = $(shell pkg-config --libs freetype2)
|
||||
|
||||
fontconvert: fontconvert.c
|
||||
$(CC) $(CFLAGS) $< $(LIBS) -o $@
|
||||
|
||||
Reference in new issue
Block a user