LIBS=-lrt
UNAME_S := $(shell uname -s)
GCCVERSIONGTEQ4 := $(shell expr `gcc -dumpversion | cut -f1 -d.` \>= 4)
ifeq ($(UNAME_S),Darwin)
LIBS=
else ifeq "$(GCCVERSIONGTEQ4)" "1"
LIBS=-lrt
UNAME_S := $(shell uname -s)
GCCVERSIONGTEQ4 := $(shell expr `gcc -dumpversion | cut -f1 -d.` \>= 4)
ifeq ($(UNAME_S),Darwin)
LIBS=
else ifeq "$(GCCVERSIONGTEQ4)" "1"