--- lib/Motif/Makefile.orig	2009-07-12 11:26:03.000000000 -0500
+++ lib/Motif/Makefile	2009-07-12 11:26:33.000000000 -0500
@@ -50,7 +50,7 @@
 # rule to create .o files from .c files 
 .c.o:
 	$(RM) $@
-	$(CC) $(CFLAGS) -DVERSION=$(VERSION) $(CPPFLAGS) $(INCLUDES) -c $<
+	$(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -DVERSION=$(VERSION) $(CPPFLAGS) $(INCLUDES) -c $<
 
 # targets to build
 all: $(TARGET)
