diff options
Diffstat (limited to 'test/core')
| -rw-r--r-- | test/core/Makefile | 2 | ||||
| -rw-r--r-- | test/core/array-test.c | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/test/core/Makefile b/test/core/Makefile index 5f1e965..4430cde 100644 --- a/test/core/Makefile +++ b/test/core/Makefile @@ -28,7 +28,7 @@ map-test: config.h map-test.c ../../map.c array-test: config.h array-test.c ../../array.c @echo Compiling $@ binary - @${CC} ${CFLAGS} ${CFLAGS_STD} ${CFLAGS_EXTRA} ${filter %.c, $^} ${SRC} ${LDFLAGS} -o $@ + @${CC} ${CFLAGS} ${CFLAGS_STD} ${CFLAGS_EXTRA} array-test.c ${SRC} ${LDFLAGS} -o $@ debug: clean $(MAKE) CFLAGS_EXTRA='${CFLAGS_EXTRA} ${CFLAGS_DEBUG}' diff --git a/test/core/array-test.c b/test/core/array-test.c index 72a6678..e4da4f6 100644 --- a/test/core/array-test.c +++ b/test/core/array-test.c @@ -4,9 +4,10 @@ #include <string.h> #include <stdio.h> #include <errno.h> + #include "tap.h" -#include "array.h" -#include "util.h" + +#include "array.c" typedef struct { char key[64]; |
