hmm, changing 

$(LD) $(LDFLAGS) -o $(TARGET) *.o $(LIB)

to 

$(CC) $(LDFLAGS) -o $(TARGET) *.o $(LIB)

in the makefile seems to have fixed it. will this cause problems?

michael