From 5a42d2eb913724690db6a99d3cbf5c073376751f Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 5 Feb 2012 04:33:05 +0000 Subject: add fake srand48() and drand48() on Windows/MinGW since it doesn't have them svn path=/trunk/externals/chaos/; revision=15950 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c7f1c3e..5421fbe 100644 --- a/Makefile +++ b/Makefile @@ -32,8 +32,8 @@ EXTRA_DIST = chaos.ncb chaos.sln chaos.suo chaos.vcproj Makefile.nt # #------------------------------------------------------------------------------# -ALL_CFLAGS = -I"$(PD_INCLUDE)" -ALL_LDFLAGS = +ALL_CFLAGS = -I"$(PD_INCLUDE)" -D'srand48(n)=srand((n))' -D'drand48()=((double)rand()/RAND_MAX)' +ALL_LDFLAGS = SHARED_LDFLAGS = ALL_LIBS = -- cgit v1.2.1