--- fslurp-0.7/makefile.orig +++ fslurp-0.7/makefile @@ -6,12 +6,14 @@ INCLUDES = fslurp.h fronius.h externs.h -CFLAGS = -Wall -lm +CFLAGS += -Wall + +LIBS = -lm VERSION := fslurp-$(shell tail -1 version) fslurp: $(SOURCE) $(INCLUDES) - gcc $(CFLAGS) -o fslurp $(SOURCE) + $(CC) $(CFLAGS) $(LDFLAGS) -o fslurp $(SOURCE) $(LIBS) test: fslurp ./fslurp