langtools/make/Makefile
changeset 5854 5dc61238219e
parent 5848 c5a4ce47e780
child 7681 1f0819a3341f
child 7843 1103fac3fb5a
--- a/langtools/make/Makefile	Wed Jun 16 17:52:10 2010 -0700
+++ b/langtools/make/Makefile	Fri Jun 18 16:45:13 2010 -0700
@@ -40,15 +40,16 @@
 
 SYSTEM_UNAME := $(shell uname)
 
+# Where is unwanted output to be delivered?
+# On Windows, MKS uses the special file "NUL", cygwin uses the customary unix file.
 ifeq ($(SYSTEM_UNAME), Windows_NT)
 DEV_NULL = NUL
 else
+DEV_NULL = /dev/null 
+endif
+
 ifneq (,$(findstring CYGWIN,$(SYSTEM_UNAME)))
-DEV_NULL = NUL
 USING_CYGWIN = true
-else
-DEV_NULL = /dev/null
-endif 
 endif
 
 ifdef USING_CYGWIN