[LITMUS^RT] Writing programs that use liblitmus

Youcef Amine Benabbas s9yobena at stud.uni-saarland.de
Sat Apr 28 20:36:45 CEST 2012


Hi Sven,

You may want to take a look at ft_tools
"http://www.litmus-rt.org/releases/2012.1/ft_tools-2012.1.tgz"

ft_tools requires liblitmus to be installed beforehand. You can take a
look at its Makefile.

Thanks,
Youcef

On Fri, 2012-04-27 at 21:15 +0200, Sven Dziadek wrote:
> Hi,
> I want to create some test programs.
> 
> Up to now I always added my programs to liblitmus/bin/ and let them 
> compile together with the library (by adding a few lines to 
> liblitmus/Makefile).
> 
> Anyway I think this is not the nicest way to do it.. (At least because I 
> do not want to commit them into the git repository.)
> But I saw that liblitmus/Makefile creates the special 
> liblitmus/inc/config.makefile. How can I use it and what else do I need 
> to compile my test program?
> 
> Including
> {{{
> LIBLITMUS = ../liblitmus
> -include $(LIBLITMUS)/inc/config.makefile
> }}}
> and also using $(CFLAGS) in my Makefile is not sufficient.
> 
> Can anyone send me an example Makefile? This would be much easier for me.
> 
> Thank you,
> Sven
> 
> _______________________________________________
> litmus-dev mailing list
> litmus-dev at lists.litmus-rt.org
> https://lists.litmus-rt.org/listinfo/litmus-dev






More information about the litmus-dev mailing list