浏览代码

Add warning message if Config doesn't exist

David Schleef 24 年之前
父节点
当前提交
ac191d5563
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      Makefile

+ 7 - 0
Makefile

@@ -41,6 +41,13 @@ endif
 
 all: headers uClibc_config.h subdirs $(DO_SHARED) done
 
+Config:
+	@echo
+	@echo "You didn't read the README, did you... =)"
+	@echo "Choose a configuration file in extras/Config/ and copy it to ./Config."
+	@echo
+	@exit 1
+
 shared:
 	@$(MAKE) -C libc shared
 ifeq ($(LDSO_PRESENT), $(TARGET_ARCH))