Advertisement
Guest User

Untitled

a guest
Jan 20th, 2013
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. STATIC_LIB = TRUE
  2. all : makelib
  3.  
  4. ifndef STATIC_LIB
  5. makelib : sharedlib # line 5
  6. else ifeq (${STATIC_LIB}, TRUE)
  7. makelib : staticlib # line 7
  8. else
  9. makelib : sharedlib # line 9
  10. endif
  11.  
  12. sharedlib:
  13.         echo shared
  14.  
  15. staticlib:
  16.         echo static
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement