build: rebuild test program if it is modified

pull/10/head
William Pitcock 2018-02-01 01:27:13 +00:00
parent ee1526c903
commit c28af0399e
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ install: all
check: test_libucontext ${LIBUCONTEXT_SONAME} check: test_libucontext ${LIBUCONTEXT_SONAME}
env LD_LIBRARY_PATH=. ./test_libucontext 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} $(CC) -std=c99 -D_BSD_SOURCE ${CFLAGS} ${CPPFLAGS} $@.c -o $@ ${LIBUCONTEXT_NAME}
.PHONY: check .PHONY: check