Browse Source

Add warning message if Config doesn't exist

David Schleef 24 years ago
parent
commit
ac191d5563
1 changed files with 7 additions and 0 deletions
  1. 7 0
      Makefile

+ 7 - 0
Makefile

@@ -41,6 +41,13 @@ endif
 
 
 all: headers uClibc_config.h subdirs $(DO_SHARED) done
 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:
 shared:
 	@$(MAKE) -C libc shared
 	@$(MAKE) -C libc shared
 ifeq ($(LDSO_PRESENT), $(TARGET_ARCH))
 ifeq ($(LDSO_PRESENT), $(TARGET_ARCH))