star-sp

Random number generators and distributions
git clone git://git.meso-star.fr/star-sp.git
Log | Files | Refs | README | LICENSE

commit 19f90e993156f5d2445a665e77f9739599158ad2
parent eb558e18b76facf45752d9c1bb70b10b7204a9dd
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu, 19 Oct 2023 12:09:08 +0200

Fix compiler flags for tests

Probably due to a copy/paste problem, we used the (undefined) S3D_CFLAGS
macro instead of the SSP_CFLAGS macro to define the compiler flags
required by the built library.

Diffstat:
MMakefile | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -159,10 +159,10 @@ clean_test: @$(SHELL) make.sh clean_test $(TEST_SRC) $(TEST_DEP): config.mk star-sp-local.pc - @$(CC) $(CFLAGS) $(S3D_CFLAGS) $(RSYS_CFLAGS) -MM -MT "$(@:.d=.o) $@" $(@:.d=.c) -MF $@ + @$(CC) $(CFLAGS) $(SSP_CFLAGS) $(RSYS_CFLAGS) -MM -MT "$(@:.d=.o) $@" $(@:.d=.c) -MF $@ $(TEST_OBJ): config.mk star-sp-local.pc - $(CC) $(CFLAGS) $(S3D_CFLAGS) $(RSYS_CFLAGS) -c $(@:.o=.c) -o $@ + $(CC) $(CFLAGS) $(SSP_CFLAGS) $(RSYS_CFLAGS) -c $(@:.o=.c) -o $@ test_ssp_ran_circle \ test_ssp_ran_discrete \