forked from ariadne/libucontext
build: rebuild test program if it is modified
parent
ee1526c903
commit
c28af0399e
2
Makefile
2
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue