-INCS = -I. -I/usr/include -I${X11INC} \
- $(shell pkg-config --cflags fontconfig) \
- $(shell pkg-config --cflags freetype2)
-LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lutil -lXext -lXft \
- $(shell pkg-config --libs fontconfig) \
- $(shell pkg-config --libs freetype2)
+INCS = -I$(X11INC) \
+ `$(PKG_CONFIG) --cflags fontconfig` \
+ `$(PKG_CONFIG) --cflags freetype2`
+LIBS = -L$(X11LIB) -lm -lrt -lX11 -lutil -lXft \
+ `$(PKG_CONFIG) --libs fontconfig` \
+ `$(PKG_CONFIG) --libs freetype2`