# Darwin doesn't need -lcrypt or -lrt # BSD does not need -lrt ifneq ($(UNAME),Darwin) LIBS+= -lcrypt ifneq ($(findstring BSD,$(UNAME)),BSD) LIBS+= -lrt endif endif
Pastie
Support Pastie
or read my
Pastie << self
blog
# Darwin doesn't need -lcrypt or -lrt # BSD does not need -lrt ifneq ($(UNAME),Darwin) LIBS+= -lcrypt ifneq ($(findstring BSD,$(UNAME)),BSD) LIBS+= -lrt endif endif