diff modules/common/Makefile.common @ 1490:74b2ea269eb5

[xemacs-hg @ 2003-05-20 15:00:22 by james] Andrew Begel's change to move use of srcdir below its definition.
author james
date Tue, 20 May 2003 15:00:28 +0000
parents 52dd7cedee30
children c92a9d5f2e67
line wrap: on
line diff
--- a/modules/common/Makefile.common	Tue May 20 14:40:09 2003 +0000
+++ b/modules/common/Makefile.common	Tue May 20 15:00:28 2003 +0000
@@ -27,9 +27,6 @@
 
 ## Note: This will be appended to the individual module Makefiles by configure.
 
-SRC_SRCS:=$(SRCS:%=$(srcdir)/%)
-OBJS=$(SRCS:.c=.o)
-
 SHELL=/bin/sh
 RM=rm -f
 PROGNAME=@PROGNAME@
@@ -47,6 +44,9 @@
 srcdir=@srcdir@
 VPATH=@srcdir@
 
+SRC_SRCS:=$(SRCS:%=$(srcdir)/%)
+OBJS=$(SRCS:.c=.o)
+
 MODCC=@MOD_CC@
 MODARCHDIR=@MODARCHDIR@
 MAKE_DOCFILE=@MAKE_DOCFILE@