From 608b76d0b916b62b66da3a16619a3bc45ebcbbc9 Mon Sep 17 00:00:00 2001 From: glenux Date: Tue, 17 Feb 2004 22:23:59 +0000 Subject: [PATCH] =?UTF-8?q?*=20corrig=C3=A9=20un=20prob=20de=20portable=20?= =?UTF-8?q?(OSTYPE)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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")