daily pastebin goal
12%
SHARE
TWEET

Makefile pour switch-GPIO.c

a guest Jan 28th, 2014 110 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. APPLICATIONS =                       \
  2.         exemple-hello-01             \
  3.         exemple-hello-02             \
  4.         exemple-hello-03             \
  5.         exemple-periodique-01        \
  6.         exemple-periodique-02        \
  7.         exemple-periodique-03        \
  8.         exemple-periodique-04        \
  9.         switch_GPIO                  \
  10.         exemple-alarme-01            \
  11.         exemple-watchdog-01          \
  12.         exemple-mutex-01             \
  13.         exemple-mutex-02             \
  14.         exemple-semaphore-01         \
  15.  
  16.  
  17.  
  18. XENOCONFIG=/usr/xenomai/bin/xeno-config
  19. #XENOCONFIG=~/Projets/Panda/xenomai/bin/xeno-config
  20.  
  21. CC=$(shell      $(XENOCONFIG) --cc)
  22. MY_CFLAGS=-g
  23. CFLAGS=$(shell  $(XENOCONFIG) --skin=native --cflags)  $(MY_CFLAGS) -I/home/Xenomai/CBLaess/chapitre-10
  24. LDFLAGS=$(shell $(XENOCONFIG) --skin=native --ldflags) $(MY_LDFLAGS) -l/home/Xenomai/CBLaess/chapitre-10/gpio-utils
  25. LIBDIR=$(shell  $(XENOCONFIG) --skin=native --libdir)  $(MY_LIBDIR)
  26. LDFLAGS+=-lnative
  27. LDLIBS=-lnative -lxenomai
  28.  
  29. all:: $(APPLICATIONS)
  30.  
  31. clean::
  32.         $(RM) -f $(APPLICATIONS) *.o *~
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top