polytreewm/config/3-defvars.mk

12 lines
348 B
Makefile
Raw Normal View History

2022-09-07 09:52:34 -04:00
CARGO = cargo
2021-11-16 17:02:06 -05:00
CC = cc
PKGCONFIG = pkg-config
2021-11-20 11:42:59 -05:00
PKGS += fontconfig freetype2 x11 xft
2021-11-16 17:02:06 -05:00
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