summaryrefslogtreecommitdiff
blob: ee01e34dcd18b4071d8d7d1b125e5bcb7c1c2eea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- lib/editline/Makefile.am	2004-05-10 09:27:21.442490749 +0000
+++ lib/editline/Makefile.am	2004-05-10 09:27:38.876209101 +0000
@@ -47,6 +47,9 @@
 
 EXTRA_DIST = $(man_MANS)
 
+$(libeditline_la_OBJECTS): %.lo: %.c
+	$(LTCOMPILE) -fPIC -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+
 snprintf.c:
 	$(LN_S) $(srcdir)/../roken/snprintf.c .
 strdup.c: