[llvm-commits] CVS: poolalloc/Makefile

Chris Lattner lattner at cs.uiuc.edu
Tue Oct 21 14:01:01 PDT 2003


Changes in directory poolalloc:

Makefile updated: 1.4 -> 1.5

---
Log message:

Print a nice error message if the user forgets to configure the project 
before using it


---
Diffs of the changes:  (+5 -1)

Index: poolalloc/Makefile
diff -u poolalloc/Makefile:1.4 poolalloc/Makefile:1.5
--- poolalloc/Makefile:1.4	Tue Oct 21 13:58:06 2003
+++ poolalloc/Makefile	Tue Oct 21 14:00:08 2003
@@ -15,7 +15,11 @@
 #
 # Include the Master Makefile that knows how to build all.
 #
-include $(LEVEL)/Makefile.common
+-include $(LEVEL)/Makefile.common
+
+notconfigured:
+	@echo "ERROR: You must configure this project before you can use it!"
+	@exit 1
 
 distclean:: clean
 	${RM} -f Makefile.common Makefile.config





More information about the llvm-commits mailing list