aboutsummaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorMatthias-Christian Ott <ott@enolink.de>2008-06-14 11:03:29 +0200
committerMatthias-Christian Ott <ott@enolink.de>2008-06-14 11:03:29 +0200
commitc9e63f9c30d3db127ebe8f2cf4e2fe403131c3bf (patch)
tree35b21a7441ca61d545e6fd5499d675d97352d87d /config.mk
parent61f6e92f65b391e659c8275b08dc63c92c2eb817 (diff)
downloadst-c9e63f9c30d3db127ebe8f2cf4e2fe403131c3bf.tar.gz
st-c9e63f9c30d3db127ebe8f2cf4e2fe403131c3bf.tar.bz2
make st and std separate programmes
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index eca6028..4d76c67 100644
--- a/config.mk
+++ b/config.mk
@@ -12,7 +12,8 @@ X11LIB = /usr/X11R6/lib
# includes and libs
INCS = -I. -I/usr/include -I${X11INC}
-LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
+LIBS = -L/usr/lib -lc
+X11LIBS = -L${X11LIB} -lX11
# glibc
CPPFLAGS = -DVERSION=\"${VERSION}\" -D_GNU_SOURCE
@@ -21,6 +22,7 @@ CPPFLAGS = -DVERSION=\"${VERSION}\" -D_GNU_SOURCE
#CPPFLAGS = -DVERSION=\"${VERSION}\"
CFLAGS = -Os ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}
+X11LDFLAGS = ${X11LIBS}
#CFLAGS = -g -std=c99 -pedantic -Wall -O2 ${INCS} ${CPPFLAGS}
#LDFLAGS = -g ${LIBS}