CFLAGS = -std=c99 -O -Wall -I /APPS/32/lib/R/include LDFLAGS = -L /APPS/32/lib foo : foo.o $(CC) $(LDFLAGS) -o $@ $< -lRmath -lm