diff options
author | Aurélien Aptel <aurelien.aptel@gmail.com> | 2010-08-30 13:04:19 +0200 |
---|---|---|
committer | Aurélien Aptel <aurelien.aptel@gmail.com> | 2010-08-30 13:04:19 +0200 |
commit | ae5baac932af877cb18df6853d45f033ed9b270f (patch) | |
tree | c7323028d822461af56c82442ff894668f8103b1 /config.mk | |
parent | bef87acd0d0e22ba4689be6f1c39ce2d90812317 (diff) | |
download | st-ae5baac932af877cb18df6853d45f033ed9b270f.tar.gz st-ae5baac932af877cb18df6853d45f033ed9b270f.tar.bz2 |
use predefined OS macro instead of uname.
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -14,15 +14,8 @@ X11LIB = /usr/X11R6/lib INCS = -I. -I/usr/include -I${X11INC} LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lutil -# uncomment manualy your system if compilation fail -SYSTEM = -D`uname | tr a-z A-Z` -#SYSTEM = -DLINUX -#SYSTEM = -DOPENBSD -#SYSTEM = -DFREEBSD -#SYSTEM = -DNETBSD - # flags -CPPFLAGS = -DVERSION=\"${VERSION}\" ${SYSTEM} +CPPFLAGS = -DVERSION=\"${VERSION}\" CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} LDFLAGS = -s ${LIBS} |