1
2
3
4
5
6
7
8
# 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