git @ Cat's Eye Technologies Bhuna / 24c6f66
-ldl is only needed on Linux, not on the *BSDs. Cat's Eye Technologies 7 years ago
1 changed file(s) with 5 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
0 UNAME := $(shell uname -s)
1
02 CC?=gcc
13
24 WARNS= -W -Wall -Wstrict-prototypes -Wmissing-prototypes \
2426
2527 CFLAGS+=-Ilib
2628
27 LIBS=-ldl
29 ifeq ($(UNAME),Linux)
30 LIBS=-ldl
31 endif
2832
2933 #CFLAGS+=-pg
3034 NOPROFILE=yes