X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fcompile%2Fapi1%2Fhello%2FMakefile.example.linux;fp=tests%2Fcompile%2Fapi1%2Fhello%2FMakefile.example.linux;h=74fda7bbdda0031ebcc80b38bda48ca09909a48a;hb=bebb067ef8020d5c36ab48271b0d9d9bb2b24e11;hp=0000000000000000000000000000000000000000;hpb=4405cc3e105e60c95939e595b8dddcd0940a0b92;p=lttng-ust.git diff --git a/tests/compile/api1/hello/Makefile.example.linux b/tests/compile/api1/hello/Makefile.example.linux new file mode 100644 index 00000000..74fda7bb --- /dev/null +++ b/tests/compile/api1/hello/Makefile.example.linux @@ -0,0 +1,10 @@ +# SPDX-License-Identifier: LGPL-2.1-only +# +# Example makefile to build outside of the LTTng-UST tree. + +hello: + ${CC} -O2 -I. -o hello -ldl -llttng-ust hello.c tp.c + +.PHONY: clean +clean: + rm -f hello