diff Makeconf.in @ 1984:1c121da7b952

[project @ 1996-02-29 14:57:47 by jwe]
author jwe
date Thu, 29 Feb 1996 14:59:38 +0000
parents 7dfb1c9d7684
children 86d6c42c192a
line wrap: on
line diff
--- a/Makeconf.in	Tue Feb 27 12:41:46 1996 +0000
+++ b/Makeconf.in	Thu Feb 29 14:59:38 1996 +0000
@@ -231,19 +231,21 @@
 
 # How to make .o files:
 
-.c.o:
-	[ -z "$(CPICFLAG)" ] ||\
-	  $(CC) -c $(CPPFLAGS) $(CPICFLAG) $(ALL_CFLAGS) $< -o pic/$@
+%.o : %.c
 	$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
 
-.cc.o:
-	[ -z "$(CXXPICFLAG)" ] ||\
-	  $(CXX) -c $(CPPFLAGS) $(CXXPICFLAG) $(ALL_CXXFLAGS) $< -o pic/$@
+%.o : %.cc
 	$(CXX) -c $(CPPFLAGS) $(ALL_CXXFLAGS) $<
 
+pic/%.o : %.c
+	$(CC) -c $(CPPFLAGS) $(CPICFLAG) $(ALL_CFLAGS) $< -o $@
+
+pic/%.o : %.cc
+	$(CXX) -c $(CPPFLAGS) $(CXXPICFLAG) $(ALL_CXXFLAGS) $< -o $@
+
 # Here is a rule for generating dependencies for .cc files:
 
-%.d: %.cc
+%.d : %.cc
 	@echo making $@ from $<
 	@rm -f $@
 	@-if test "$(srcdir)" = "." ; then \
@@ -257,7 +259,7 @@
 
 # And one for .c files.too:
 
-%.d: %.c
+%.d : %.c
 	@echo making $@ from $<
 	@rm -f $@
 	@-if test "$(srcdir)" = "." ; then \