11 lines
348 B
Makefile
11 lines
348 B
Makefile
CARGO = cargo
|
|
CC = cc
|
|
PKGCONFIG = pkg-config
|
|
|
|
PKGS += fontconfig freetype2 x11 xft
|
|
|
|
CFLAGS += `$(PKGCONFIG) --cflags $(PKGS)`
|
|
LDFLAGS += `$(PKGCONFIG) --libs $(PKGS)`
|
|
|
|
CPPFLAGS += -DVERSION=\"$(VERSION)\" -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L
|
|
CFLAGS += $(CPPFLAGS) -std=c99 -Os -pedantic -Wall -Wno-deprecated-declarations
|