Skip to content

Commit efe7d49

Browse files
committed
Simplify rules for building renderer
1 parent 0f38309 commit efe7d49

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Makefile

+3-4
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,13 @@ libtwin.a_includes-y := \
6060
# Features
6161
libtwin.a_files-$(CONFIG_LOGGING) += src/log.c
6262
libtwin.a_files-$(CONFIG_CURSOR) += src/cursor.c
63-
libtwin.a_files-$(CONFIG_RENDERER_BUILTIN) += src/draw.c
6463

65-
## Pixman
66-
libtwin.a_files-$(CONFIG_RENDERER_PIXMAN) += src/pixman.c
64+
# Renderer
65+
libtwin.a_files-$(CONFIG_RENDERER_BUILTIN) += src/draw.c
66+
libtwin.a_files-$(CONFIG_RENDERER_PIXMAN) += src/draw-pixman.c
6767
libtwin.a_cflags-$(CONFIG_RENDERER_PIXMAN) += $(shell pkg-config --cflags pixman-1)
6868
ifeq ($(CONFIG_RENDERER_PIXMAN), y)
6969
TARGET_LIBS += $(shell pkg-config --libs pixman-1)
70-
CFLAGS += $(shell pkg-config --cflags pixman-1)
7170
endif
7271

7372
# Image loaders

src/pixman.c src/draw-pixman.c

File renamed without changes.

0 commit comments

Comments
 (0)