Mercurial > hg > xemacs-beta
diff src/Makefile.in.in @ 245:51092a27c943 r20-5b21
Import from CVS: tag r20-5b21
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:17:54 +0200 |
parents | 557eaa0339bf |
children | 83b3d10dcba9 |
line wrap: on
line diff
--- a/src/Makefile.in.in Mon Aug 13 10:17:09 2007 +0200 +++ b/src/Makefile.in.in Mon Aug 13 10:17:54 2007 +0200 @@ -27,7 +27,7 @@ ## For performance and consistency, no built-in rules. .SUFFIXES: -.SUFFIXES: .c .o .i .h .dep +.SUFFIXES: .c .cc .o .i .h .dep @SET_MAKE@ SHELL=/bin/sh @@ -86,6 +86,7 @@ #ifdef USE_GNU_MAKE vpath %.c @srcdir@ +vpath %.cc @srcdir@ vpath %.h @srcdir@ ## now list files that should NOT be searched in the srcdir. ## This includes any .c or .h built from something else @@ -139,6 +140,13 @@ #endif $(CC) -c $(cflags) $< +#ifdef SOLARIS2 +%.o : %.cc +#else +.cc.o: +#endif + $(CC) -c $(cflags) $< + ## Create preprocessor output (debugging purposes only) .c.i: $(CC) -P $(cppflags) $<