diff options
| author | Matthias-Christian Ott <ott@enolink.de> | 2008-06-14 11:03:29 +0200 |
|---|---|---|
| committer | Matthias-Christian Ott <ott@enolink.de> | 2008-06-14 11:03:29 +0200 |
| commit | 0c0ada8a7f6e916eb2b05ae5571e375e522d0a2e (patch) | |
| tree | 35b21a7441ca61d545e6fd5499d675d97352d87d /config.mk | |
| parent | add missing header file (diff) | |
| download | st-0c0ada8a7f6e916eb2b05ae5571e375e522d0a2e.tar.gz st-0c0ada8a7f6e916eb2b05ae5571e375e522d0a2e.zip | |
make st and std separate programmes
Diffstat (limited to 'config.mk')
| -rw-r--r-- | config.mk | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -12,7 +12,8 @@ X11LIB = /usr/X11R6/lib | |||
| 12 | 12 | ||
| 13 | # includes and libs | 13 | # includes and libs |
| 14 | INCS = -I. -I/usr/include -I${X11INC} | 14 | INCS = -I. -I/usr/include -I${X11INC} |
| 15 | LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 | 15 | LIBS = -L/usr/lib -lc |
| 16 | X11LIBS = -L${X11LIB} -lX11 | ||
| 16 | 17 | ||
| 17 | # glibc | 18 | # glibc |
| 18 | CPPFLAGS = -DVERSION=\"${VERSION}\" -D_GNU_SOURCE | 19 | CPPFLAGS = -DVERSION=\"${VERSION}\" -D_GNU_SOURCE |
| @@ -21,6 +22,7 @@ CPPFLAGS = -DVERSION=\"${VERSION}\" -D_GNU_SOURCE | |||
| 21 | #CPPFLAGS = -DVERSION=\"${VERSION}\" | 22 | #CPPFLAGS = -DVERSION=\"${VERSION}\" |
| 22 | CFLAGS = -Os ${INCS} ${CPPFLAGS} | 23 | CFLAGS = -Os ${INCS} ${CPPFLAGS} |
| 23 | LDFLAGS = -s ${LIBS} | 24 | LDFLAGS = -s ${LIBS} |
| 25 | X11LDFLAGS = ${X11LIBS} | ||
| 24 | #CFLAGS = -g -std=c99 -pedantic -Wall -O2 ${INCS} ${CPPFLAGS} | 26 | #CFLAGS = -g -std=c99 -pedantic -Wall -O2 ${INCS} ${CPPFLAGS} |
| 25 | #LDFLAGS = -g ${LIBS} | 27 | #LDFLAGS = -g ${LIBS} |
| 26 | 28 | ||
