Catch an attempt to "make" without "shell-setup".
authorMatt McCutchen <matt@mattmccutchen.net>
Sun, 11 Jan 2009 00:34:01 +0000 (19:34 -0500)
committerMatt McCutchen <matt@mattmccutchen.net>
Sun, 11 Jan 2009 00:34:01 +0000 (19:34 -0500)
Makefile

index 28e2824..a139c25 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,11 @@
 NAME:=measurements
 empty:=
+
 # $(OO) is now taken from shell-setup.
+ifeq ($(OO),)
+$(error You must source "shell-setup" in the shell before running make.)
+endif
+
 
 IDL_TYPES:=net/mattmccutchen/measurements/XMeasurementsAddIn