forked from ariadne/libucontext
build: allow check_libucontext program to be run on its own like the other check steps
parent
5d2f30f96a
commit
e26a93806e
4
Makefile
4
Makefile
|
@ -229,9 +229,11 @@ test_libucontext_bare_posixabi: test_libucontext_posix.c ${LIBUCONTEXT_NAME}
|
|||
$(CC) -std=gnu99 -D_BSD_SOURCE ${CFLAGS} ${CPPFLAGS} test_libucontext_posix.c -o $@ -L. -lucontext
|
||||
endif
|
||||
|
||||
check: test_libucontext ${LIBUCONTEXT_SONAME}
|
||||
check_libucontext: test_libucontext ${LIBUCONTEXT_SONAME}
|
||||
env LD_LIBRARY_PATH=$(shell pwd) ./test_libucontext
|
||||
|
||||
check: check_libucontext
|
||||
|
||||
test_libucontext: test_libucontext.c ${LIBUCONTEXT_NAME}
|
||||
$(CC) -std=gnu99 -D_BSD_SOURCE ${CFLAGS} ${CPPFLAGS} $@.c -o $@ -L. -lucontext
|
||||
|
||||
|
|
Loading…
Reference in New Issue