diff --git a/test/Makefile b/test/Makefile index d4233ac..cb3d0ab 100644 --- a/test/Makefile +++ b/test/Makefile @@ -6,13 +6,17 @@ #LIBINC=-L #LIBS= -OSTYPE=$(shell uname -s) +OS=$(shell uname -s) CC=gcc CFLAGS=-Wall --static #-O2 -ggdb INCLUDES=-I ../src/ LIBINC=-L ../src -LIBS=-lnazgul $(OSTYPE:Linux=-lrt) + +LIBS=-lnazgul +ifeq "Linux" "${OS}" + LIBS=-lnazgul -lrt +endif PRJNAME=Libnazgul GDATE := $(shell date +"-%Y-%m-%d_r%H")