From c28af0399e94b41928173368c1a1cf28cc1e6313 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Thu, 1 Feb 2018 01:27:13 +0000 Subject: [PATCH] build: rebuild test program if it is modified --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b47289a..c2b80f5 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ install: all check: test_libucontext ${LIBUCONTEXT_SONAME} env LD_LIBRARY_PATH=. ./test_libucontext -test_libucontext: ${LIBUCONTEXT_NAME} +test_libucontext: test_libucontext.c ${LIBUCONTEXT_NAME} $(CC) -std=c99 -D_BSD_SOURCE ${CFLAGS} ${CPPFLAGS} $@.c -o $@ ${LIBUCONTEXT_NAME} .PHONY: check