Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. /home # cat >test1.c <<EOF
  2. > #include <ncurses.h>
  3. > main(){}
  4. > EOF
  5. /home # make test1
  6. cc test1.c -o test1
  7. /home # cat >test2.c <<EOF
  8. > #include CURSES_LOC
  9. > main(){}
  10. > EOF
  11. /home # make test2 CFLAGS="-DCURSES_LOC=<ncurses.h>"
  12. cc -DCURSES_LOC=<ncurses.h> test2.c -o test2
  13. /bin/sh: line 1: ncurses.h: No such file or directory
  14. make: *** [test2] Error 1
  15. /home #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement