Mercurial > molko
comparison Makefile @ 35:bdb51709fd55
core: implement error functions, closes #2453
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 13 Jan 2020 13:53:18 +0100 |
parents | e15361e5a46a |
children | 9d1421c09dfb |
comparison
equal
deleted
inserted
replaced
34:e15361e5a46a | 35:bdb51709fd55 |
---|---|
23 PROG= molko | 23 PROG= molko |
24 LIB= libmolko.a | 24 LIB= libmolko.a |
25 SRCS= src/animation.c \ | 25 SRCS= src/animation.c \ |
26 src/clock.c \ | 26 src/clock.c \ |
27 src/event.c \ | 27 src/event.c \ |
28 src/error.c \ | |
28 src/font.c \ | 29 src/font.c \ |
29 src/map.c \ | 30 src/map.c \ |
30 src/message.c \ | 31 src/message.c \ |
31 src/image.c \ | 32 src/image.c \ |
32 src/sprite.c \ | 33 src/sprite.c \ |
45 SDL_LDFLAGS= `pkg-config --libs sdl2 SDL2_image SDL2_mixer SDL2_ttf` | 46 SDL_LDFLAGS= `pkg-config --libs sdl2 SDL2_image SDL2_mixer SDL2_ttf` |
46 | 47 |
47 JANSSON_CFLAGS= `pkg-config --cflags jansson` | 48 JANSSON_CFLAGS= `pkg-config --cflags jansson` |
48 JANSSON_LDFLAGS=`pkg-config --libs jansson` | 49 JANSSON_LDFLAGS=`pkg-config --libs jansson` |
49 | 50 |
50 TESTS= tests/test-color.c | 51 TESTS= tests/test-color.c \ |
52 tests/test-error.c | |
51 TESTS_INCS= -I extern/libgreatest -I src ${SDL_CFLAGS} | 53 TESTS_INCS= -I extern/libgreatest -I src ${SDL_CFLAGS} |
52 TESTS_LIBS= ${LIB} ${SDL_LDFLAGS} ${LDFLAGS} | 54 TESTS_LIBS= ${LIB} ${SDL_LDFLAGS} ${LDFLAGS} |
53 TESTS_OBJS= ${TESTS:.c=} | 55 TESTS_OBJS= ${TESTS:.c=} |
54 TESTS_DEPS= ${TESTS:.c=.d} | 56 TESTS_DEPS= ${TESTS:.c=.d} |
55 | 57 |