36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
--- a/config.mk 2019-02-02 12:55:28.000000000 +0000
|
|
+++ b/config.mk 2020-09-08 23:52:06.060000000 +0000
|
|
@@ -4,7 +4,7 @@
|
|
# Customize below to fit your system
|
|
|
|
# paths
|
|
-PREFIX = /usr/local
|
|
+PREFIX = /usr
|
|
MANPREFIX = ${PREFIX}/share/man
|
|
|
|
X11INC = /usr/X11R6/include
|
|
@@ -22,17 +22,17 @@
|
|
|
|
# includes and libs
|
|
INCS = -I${X11INC} -I${FREETYPEINC}
|
|
-LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
|
|
+LIBS = -L${X11LIB} ${XINERAMALIBS} ${FREETYPELIBS} -lXrender -lX11 -lX11-xcb -lXext -lxcb -lxcb-shm -lXau -lfreetype -lpng -lm -lz -lbz2 -lfontconfig -lexpat -lxml2
|
|
|
|
# flags
|
|
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
|
|
-#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
|
|
-CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS}
|
|
-LDFLAGS = ${LIBS}
|
|
+#CFLAGS += -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
|
|
+CFLAGS += -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS}
|
|
+LDFLAGS += ${LIBS}
|
|
|
|
# Solaris
|
|
-#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
|
|
-#LDFLAGS = ${LIBS}
|
|
+#CFLAGS += -fast ${INCS} -DVERSION=\"${VERSION}\"
|
|
+#LDFLAGS += ${LIBS}
|
|
|
|
# compiler and linker
|
|
CC = cc
|