aboutsummaryrefslogtreecommitdiffhomepage
path: root/config.mk
diff options
context:
space:
mode:
authorGravatar Matthias-Christian Ott <ott@enolink.de>2008-06-14 11:03:29 +0200
committerGravatar Matthias-Christian Ott <ott@enolink.de>2008-06-14 11:03:29 +0200
commit0c0ada8a7f6e916eb2b05ae5571e375e522d0a2e (patch)
tree35b21a7441ca61d545e6fd5499d675d97352d87d /config.mk
parent339e7f35713ae0c35be2537e6639cd5eee592acb (diff)
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}