mirror of
https://github.com/recp/cglm.git
synced 2025-10-04 01:00:46 +00:00
85 lines
2.9 KiB
Plaintext
85 lines
2.9 KiB
Plaintext
#******************************************************************************
|
|
# Copyright (c), Recep Aslantas. *
|
|
# *
|
|
# MIT License (MIT), http://opensource.org/licenses/MIT *
|
|
# Full license can be found in the LICENSE file *
|
|
# *
|
|
#******************************************************************************
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
AM_CFLAGS = -Wall \
|
|
-std=gnu99 \
|
|
-O3 \
|
|
-Wstrict-aliasing=2 \
|
|
-fstrict-aliasing \
|
|
-Wpedantic
|
|
|
|
lib_LTLIBRARIES = libcglm.la
|
|
libcglm_la_LDFLAGS = -no-undefined -version-info 0:1:0
|
|
|
|
checkLDFLAGS = -L./.libs \
|
|
-L./test/lib/cmocka/build/src \
|
|
-lcmocka \
|
|
-lm \
|
|
-lcglm
|
|
checkCFLAGS = -I./test/lib/cmocka/include \
|
|
-I./include
|
|
|
|
check_PROGRAMS = test/test_mat4
|
|
TESTS = $(check_PROGRAMS)
|
|
|
|
test_test_mat4_LDFLAGS = $(checkLDFLAGS)
|
|
test_test_mat4_CFLAGS = $(checkCFLAGS)
|
|
|
|
cglmdir=$(includedir)/cglm
|
|
cglm_HEADERS = include/cglm-version.h \
|
|
include/cglm.h \
|
|
include/cglm-call.h \
|
|
include/cglm-cam.h \
|
|
include/cglm-io.h \
|
|
include/cglm-mat3.h \
|
|
include/cglm-types.h \
|
|
include/cglm-common.h \
|
|
include/cglm-affine.h \
|
|
include/cglm-vec.h \
|
|
include/cglm-euler.h \
|
|
include/cglm-util.h \
|
|
include/cglm-quat.h \
|
|
include/cglm-mat.h \
|
|
include/cglm-affine-mat.h
|
|
|
|
cglm_arch_simddir=$(includedir)/cglm/arch/simd/
|
|
cglm_arch_simd_HEADERS = include/arch/simd/cglm-mat-simd-avx.h \
|
|
include/arch/simd/cglm-affine-mat-avx.h \
|
|
include/arch/simd/cglm-quat-simd.h \
|
|
include/arch/simd/cglm-affine-mat-sse2.h \
|
|
include/arch/simd/cglm-mat3-simd-sse2.h \
|
|
include/arch/simd/cglm-mat-simd-sse2.h \
|
|
include/arch/simd/cglm-intrin.h
|
|
|
|
cglm_calldir=$(includedir)/cglm/call
|
|
cglm_call_HEADERS = include/call/cglmc-euler.h \
|
|
include/call/cglmc-quat.h \
|
|
include/call/cglmc-cam.h \
|
|
include/call/cglmc-io.h \
|
|
include/call/cglmc-affine.h \
|
|
include/call/cglmc-vec.h \
|
|
include/call/cglmc-mat3.h \
|
|
include/call/cglmc-mat.h
|
|
|
|
libcglm_la_SOURCES=\
|
|
src/cglm-euler.c \
|
|
src/clgm-affine.c \
|
|
src/cglm-io.c \
|
|
src/cglm-quat.c \
|
|
src/cglm-cam.c \
|
|
src/cglm-vec.c \
|
|
src/cglm-mat3.c \
|
|
src/cglm-mat.c
|
|
|
|
test_test_mat4_SOURCES=test/src/test_mat4.c
|
|
|
|
all-local:
|
|
sh ./post-build.sh
|