summaryrefslogtreecommitdiff
path: root/shell/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'shell/Makefile')
-rw-r--r--shell/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/shell/Makefile b/shell/Makefile
index 8f476c1..bd1dad6 100644
--- a/shell/Makefile
+++ b/shell/Makefile
@@ -17,13 +17,15 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
-TOPDIR:= ../
+top_srcdir=..
+top_builddir=..
+srcdir=$(top_srcdir)/shell
SHELL_DIR:=./
-include $(TOPDIR).config
-include $(TOPDIR)Rules.mak
+include $(top_builddir)/Rules.mak
+include $(top_builddir)/.config
include Makefile.in
all: $(libraries-y)
--include $(TOPDIR).depend
+-include $(top_builddir)/.depend
clean:
rm -f *.o *.a $(AR_TARGET)