Advertisement
Guest User

Untitled

a guest
Jun 19th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.48 KB | None | 0 0
  1. $ cat Makefile
  2.  
  3. rulea:
  4.     @echo rulea
  5.  
  6. ruleb:
  7.     @echo ruleb
  8.     pass = $(shell openssl passwd -1)
  9.  
  10. rulec:
  11. ifeq ($(SPL_VAR),)
  12.     $(error "SPL_VAR undefined, aborting")
  13. else
  14.     @echo rulec
  15. endif
  16.  
  17. .PHONY: rulea ruleb rulec
  18.  
  19. $ make rulea
  20. Makefile:10: *** "SPL_VAR undefined, aborting".  Stop.
  21.  
  22. $ make -v
  23. GNU Make 4.1
  24. Built for x86_64-pc-linux-gnu
  25.  
  26. $ uname -a
  27. Linux thinkpad 4.13.0-38-generic #43~16.04.1-Ubuntu SMP Wed Mar 14 17:48:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement