OSDN Git Service

mkostemp: fix implementation
[uclinux-h8/uClibc.git] / Makefile
index 958d963..702430a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,11 +5,15 @@
 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 #
 
-TOPDIR=./
+top_srcdir=./
+top_builddir=$(if $(O),$(O),.)/
+export top_builddir
 
-top_srcdir=$(TOPDIR)
-top_builddir=./
-include $(top_builddir)Rules.mak
-#all: libs
-include Makefile.in
+# We do not need built-in implicit rules
+MAKEFLAGS += -r
+CONFIG_SHELL ?= /bin/sh
+export CONFIG_SHELL
+
+include $(top_srcdir)Makefile.in
 include $(top_srcdir)Makerules
+include $(top_srcdir)Makefile.help