comparison Makefile @ 42:22a09a5ee476

core: add better map check and unit tests
author David Demelier <markand@malikania.fr>
date Wed, 15 Jan 2020 20:33:21 +0100
parents 3996f873a54b
children c97fe725fdeb
comparison
equal deleted inserted replaced
41:3996f873a54b 42:22a09a5ee476
49 49
50 JANSSON_CFLAGS= `pkg-config --cflags jansson` 50 JANSSON_CFLAGS= `pkg-config --cflags jansson`
51 JANSSON_LDFLAGS=`pkg-config --libs jansson` 51 JANSSON_LDFLAGS=`pkg-config --libs jansson`
52 52
53 TESTS= tests/test-color.c \ 53 TESTS= tests/test-color.c \
54 tests/test-error.c 54 tests/test-error.c \
55 tests/test-map.c
55 TESTS_INCS= -I extern/libgreatest -I src ${SDL_CFLAGS} 56 TESTS_INCS= -I extern/libgreatest -I src ${SDL_CFLAGS}
56 TESTS_LIBS= ${LIB} ${SDL_LDFLAGS} ${LDFLAGS} 57 TESTS_LIBS= ${LIB} ${SDL_LDFLAGS} ${LDFLAGS}
57 TESTS_OBJS= ${TESTS:.c=} 58 TESTS_OBJS= ${TESTS:.c=}
58 TESTS_DEPS= ${TESTS:.c=.d} 59 TESTS_DEPS= ${TESTS:.c=.d}
59 60