Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/Makefile.am

    r8f8af30 r44f44617  
    3232BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ ${EXTRA_FLAGS}
    3333TEST_FLAGS = $(if $(test), 2> .err/${@}.log, )
    34 CFLAGS = ${TEST_FLAGS} ${BUILD_FLAGS}
     34AM_CFLAGS = ${TEST_FLAGS} ${BUILD_FLAGS}
    3535CC = @CFA_BINDIR@/@CFA_NAME@
    3636
     
    3939
    4040fstream_test_SOURCES = fstream_test.c
     41fstream_test_CFLAGS = $(if $(test), 2>> .err/fstream_test.log, ) ${BUILD_FLAGS}
     42
    4143vector_test_SOURCES = vector/vector_int.c vector/array.c vector/vector_test.c
     44vector_test_CFLAGS = $(if $(test), 2>> .err/vector_test.log, ) ${BUILD_FLAGS}
     45
    4246avl_test_SOURCES = avltree/avl_test.c avltree/avl0.c avltree/avl1.c avltree/avl2.c avltree/avl3.c avltree/avl4.c avltree/avl-private.c
     47avl_test_CFLAGS = $(if $(test), 2>> .err/avl_test.log, ) ${BUILD_FLAGS}
    4348
    4449all-local :
     
    6267
    6368% : %.c @CFA_BINDIR@/@CFA_NAME@
    64         ${CC} ${CFLAGS} ${<} -o ${@}
     69        ${CC} ${AM_CFLAGS} ${CFLAGS} ${<} -o ${@}
    6570
    6671dtor-early-exit-ERR1: dtor-early-exit.c @CFA_BINDIR@/@CFA_NAME@
    67         ${CC} ${CFLAGS} -DERR1 ${<} -o ${@}
     72        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
    6873
    6974dtor-early-exit-ERR2: dtor-early-exit.c @CFA_BINDIR@/@CFA_NAME@
    70         ${CC} ${CFLAGS} -DERR2 ${<} -o ${@}
     75        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR2 ${<} -o ${@}
    7176
    7277declarationSpecifier: declarationSpecifier.c @CFA_BINDIR@/@CFA_NAME@
    73         ${CC} ${CFLAGS} -CFA -XCFA -p -XCFA -L ${<} -o ${@}
     78        ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p -XCFA -L ${<} -o ${@}
    7479
    7580gccExtensions : gccExtensions.c @CFA_BINDIR@/@CFA_NAME@
    76         ${CC} ${CFLAGS} -CFA -XCFA -p -XCFA -L ${<} -o ${@}
     81        ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p -XCFA -L ${<} -o ${@}
    7782
    7883extension : extension.c @CFA_BINDIR@/@CFA_NAME@
    79         ${CC} ${CFLAGS} -CFA -XCFA -p -XCFA -L ${<} -o ${@}
     84        ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p -XCFA -L ${<} -o ${@}
    8085
    8186attributes : attributes.c @CFA_BINDIR@/@CFA_NAME@
    82         ${CC} ${CFLAGS} -CFA -XCFA -p -XCFA -L ${<} -o ${@}
     87        ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p -XCFA -L ${<} -o ${@}
    8388
    8489KRfunctions : KRfunctions.c @CFA_BINDIR@/@CFA_NAME@
    85         ${CC} ${CFLAGS} -CFA -XCFA -p -XCFA -L ${<} -o ${@}
     90        ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p -XCFA -L ${<} -o ${@}
    8691
    8792gmp : gmp.c @CFA_BINDIR@/@CFA_NAME@
    88         ${CC} ${CFLAGS} -lgmp ${<} -o ${@}
     93        ${CC} ${AM_CFLAGS} ${CFLAGS} -lgmp ${<} -o ${@}
    8994
    9095memberCtors-ERR1: memberCtors.c @CFA_BINDIR@/@CFA_NAME@
    91         ${CC} ${CFLAGS} -DERR1 ${<} -o ${@}
     96        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
    9297
    9398completeTypeError : completeTypeError.c @CFA_BINDIR@/@CFA_NAME@
    94         ${CC} ${CFLAGS} -DERR1 ${<} -o ${@}
     99        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
Note: See TracChangeset for help on using the changeset viewer.