Advertisement
Guest User

Untitled

a guest
Apr 3rd, 2015
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.19 KB | None | 0 0
  1. IS_PLOP_DEFINED = $(shell echo -e "\#ifndef PLOP\n\#error PLAP\n\#endif" | gcc -x c -c - )
  2.  
  3. ifneq ("$(IS_PLOP_DEFINED)","")
  4. $(info PLOP is not defined)
  5. else
  6. $(info PLOP is defined)
  7. endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement