Guest User

Makefile pour switch-GPIO.c

a guest
Jan 28th, 2014
126
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

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×