From ae5baac932af877cb18df6853d45f033ed9b270f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Aptel?= Date: Mon, 30 Aug 2010 13:04:19 +0200 Subject: use predefined OS macro instead of uname. --- config.mk | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'config.mk') 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} -- cgit v1.2.3