$NetBSD: patch-ag,v 1.5 2019/09/06 08:46:26 nros Exp $
* use libtool
--- lib/Motif/Makefile.orig	Mon Mar  5 13:38:22 2001
+++ lib/Motif/Makefile
@@ -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)
