[matroska] r1068 - trunk/libebml/make/linux

[email protected]
Newsgroups gmane.comp.multimedia.matroska.cvs
Message-ID <[email protected]>
Author: mosu
Date: 2005-02-06 21:11:15 +0300 (Sun, 06 Feb 2005)
New Revision: 1068

Modified:
   trunk/libebml/make/linux/Makefile
Log:
Output an error if a mingw compiler is used with the Linux Makefile (I simply do that too often).


Modified: trunk/libebml/make/linux/Makefile
===================================================================
--- trunk/libebml/make/linux/Makefile	2005-02-06 16:17:47 UTC (rev 1067)
+++ trunk/libebml/make/linux/Makefile	2005-02-06 18:11:15 UTC (rev 1068)
@@ -36,6 +36,10 @@
 DEBUGFLAGS=-g -DDEBUG
 endif
 
+ifneq (,$(shell $(CXX) -v 2>&1 | tail -n 1 | grep -i mingw))
+$(error Please use the Makefile in ../mingw32)
+endif
+
 CWD=$(shell pwd)
 
 SRC_DIR=$(CWD)/../../src/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.