Module: xenomai-2.6
Branch: master
Commit: e537176f5a506a78698716f59b431a304f82db16
URL:    
http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=e537176f5a506a78698716f59b431a304f82db16

Author: Philippe Gerum <r...@xenomai.org>
Date:   Thu Jul 19 21:25:16 2012 +0200

examples/rtipc: fix linker command line

---

 examples/rtdm/profiles/ipc/Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/examples/rtdm/profiles/ipc/Makefile 
b/examples/rtdm/profiles/ipc/Makefile
index 15da135..4ea38f0 100644
--- a/examples/rtdm/profiles/ipc/Makefile
+++ b/examples/rtdm/profiles/ipc/Makefile
@@ -39,6 +39,9 @@ CFLAGS=$(shell $(XENOCONFIG) --skin=posix --cflags) 
$(MY_CFLAGS)
 
 LDFLAGS=$(shell $(XENOCONFIG) --skin=posix --ldflags) $(MY_LDFLAGS) -lrtdm
 
+%: %.c
+       $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS)
+
 # Add the Xenomai libdir to the runtime library search path for the
 # binary, to make life easier for beginners if Xenomai's libs are not
 # in any default search path.


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to