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