X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=system.mk;h=d9f2ec0dfaf65d7971bd1c16483de52840136ecc;hb=be912256a10c9710090b9f67a7e0281847828640;hp=c6165a70d993ce151b6a4fc5984ae12111f2612e;hpb=de22e45179cb3bafa490294d31d47f361047a30a;p=ion3.git diff --git a/system.mk b/system.mk index c6165a7..d9f2ec0 100644 --- a/system.mk +++ b/system.mk @@ -66,8 +66,8 @@ LUAC=$(LUA_DIR)/bin/luac # what you want. #LUA_LIBS=`pkg-config --libs lua5.1` #LUA_INCLUDES=`pkg-config --cflags lua5.1` -#LUA=`which lua5.1` -#LUAC=`which luac5.1` +#LUA=/usr/bin/lua5.1 +#LUAC=/usr/bin/luac5.1 ## @@ -109,12 +109,15 @@ DEFINES += -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND # If you're on an archaic system (such as relatively recent *BSD releases) # without even dummy multibyte/widechar and localisation support, you may # have to uncomment the following line: -#DEFINES += -DCF_NO_LOCALE +#DEFINES += -DCF_NO_LOCALE -DCF_NO_GETTEXT # On some other systems you may something like this: #EXTRA_LIBS += -lintl #EXTRA_INCLUDES += +# clock_gettime for monotonic time +EXTRA_LIBS += -lrt + ## ## C compiler @@ -140,7 +143,7 @@ EXPORT_DYNAMIC=-Xlinker --export-dynamic #C89_SOURCE=-ansi -#POSIX_SOURCE=-D_POSIX_SOURCE +#POSIX_SOURCE=-D_POSIX_C_SOURCE=200112L # Most systems #XOPEN_SOURCE=-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED