diff options
| author | Shivesh Mandalia <mail@shivesh.org> | 2021-09-22 17:41:24 +0100 |
|---|---|---|
| committer | Shivesh Mandalia <mail@shivesh.org> | 2021-09-22 17:41:24 +0100 |
| commit | 55f1c47e9ce807b9dff83a267cea1972154ce19c (patch) | |
| tree | 66123ff8ec03005094ae18ce4e02dcde85201d77 /config.mk | |
| parent | dabf6a25ab01107fc1e0464ee6a3e369d1626f97 (diff) | |
| download | tabbed-55f1c47e9ce807b9dff83a267cea1972154ce19c.tar.gz tabbed-55f1c47e9ce807b9dff83a267cea1972154ce19c.zip | |
Initial setup of tabbed
- Link with a patched version of libXft that allows for coloured emojis
<https://github.com/uditkarode/libxft-bgra>
- Configure keyboard shortcuts
- Add gitignore file
Diffstat (limited to 'config.mk')
| -rw-r--r-- | config.mk | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -7,8 +7,12 @@ VERSION = 0.6 PREFIX = /usr/local MANPREFIX = ${PREFIX}/share/man -X11INC = /usr/X11R6/include -X11LIB = /usr/X11R6/lib +# Patched Xft with support for coloured emojis +# https://github.com/uditkarode/libxft-bgra +XftINC = /usr/local/include +XftLIB = /usr/local/lib +X11INC = /usr/include +X11LIB = /usr/lib # freetype FREETYPELIBS = -lfontconfig -lXft @@ -17,17 +21,17 @@ FREETYPEINC = /usr/include/freetype2 #FREETYPEINC = ${X11INC}/freetype2 # includes and libs -INCS = -I. -I/usr/include -I$(X11INC) -I${FREETYPEINC} -LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${FREETYPELIBS} +INCS = -I. -I$(XftINC) -I$(X11INC) -I${FREETYPEINC} +LIBS = -lc -L$(XftLIB) -L${X11LIB} -lX11 ${FREETYPELIBS} # flags CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} -LDFLAGS = -s ${LIBS} +LDFLAGS = -Wl,-rpath=$(XftLIB) -s ${LIBS} # Solaris #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" #LDFLAGS = ${LIBS} # compiler and linker -CC = cc +CC = tcc |
