aboutsummaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorAurélien Aptel <aurelien.aptel@gmail.com>2010-08-30 13:04:19 +0200
committerAurélien Aptel <aurelien.aptel@gmail.com>2010-08-30 13:04:19 +0200
commit4f5c7e3a31f9fde83b04c67c310685e1eba0da68 (patch)
treec7323028d822461af56c82442ff894668f8103b1 /config.mk
parent1ba065d9935da7673afd1b2ceb4b3e4e8f603b83 (diff)
downloadst-4f5c7e3a31f9fde83b04c67c310685e1eba0da68.tar.gz
st-4f5c7e3a31f9fde83b04c67c310685e1eba0da68.tar.bz2
use predefined OS macro instead of uname.
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk9
1 files changed, 1 insertions, 8 deletions
diff --git a/config.mk b/config.mk
index f0c7e2e..46efc0c 100644
--- a/config.mk
+++ b/config.mk
@@ -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}