compilers that insist that $(CC) -fpic -c foo.c -o foo.so is
wrong; basically, cheat and do -o foo.so.o, etc.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9993
dc483132-0cff-0310-8789-
dd5450dbe970
+Sat Mar 1 14:33:21 1997 Tom Yu <tlyu@mit.edu>
+
+ * libobj.in: Change .c.so and .c.po rules to work better with
+ compilers that insist that $(CC) -fpic -c foo.c -o foo.so is
+ wrong; basically, cheat and do -o foo.so.o, etc.
+
Thu Feb 27 17:40:51 1997 Tom Yu <tlyu@mit.edu>
* pre.in: Add recursion hooks for distclean.
.c.o:
$(CC) $(CFLAGS) -c $<
.c.so:
- $(CC) $(PICFLAGS) $(CFLAGS) -c $< -o $*.so
+ $(CC) $(PICFLAGS) $(CFLAGS) -c $< -o $*.so.o && \
+ $(MV) $*.so.o $*.so
.c.po:
- $(CC) $(PROFFLAGS) $(CFLAGS) -c $< -o $*.po
+ $(CC) $(PROFFLAGS) $(CFLAGS) -c $< -o $*.po.o && \
+ $(MV) $*.po.o $*.po
# rules to generate object file lists