summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorJörg Budischewski <jbu@openoffice.org>2001-04-18 10:04:25 +0000
committerJörg Budischewski <jbu@openoffice.org>2001-04-18 10:04:25 +0000
commit58898e46f9df46708d9ee7e2c94008301a24a75e (patch)
tree641583b9416d88863850d5e9eaece1d5005f0311 /idlc
parent1003bc67c27f884242e0d1c3c63950fa5e7051b6 (diff)
now passes also windows compiler
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/makefile.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/idlc/source/makefile.mk b/idlc/source/makefile.mk
index 1a8fa2bb0480..17d9c08bf1d1 100644
--- a/idlc/source/makefile.mk
+++ b/idlc/source/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.2 $
+# $Revision: 1.3 $
#
-# last change: $Author: jbu $ $Date: 2001-04-18 10:55:37 $
+# last change: $Author: jbu $ $Date: 2001-04-18 11:04:25 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -137,7 +137,11 @@ APP1STDLIBS=\
.INCLUDE : target.mk
$(MISC)$/stripped_scanner.ll : scanner.ll
+.IF "$(GUI)"=="WNT"
+ +cat scanner.ll > $(MISC)$/stripped_scanner.ll
+.ELSE
+tr -d "\015" < scanner.ll > $(MISC)$/stripped_scanner.ll
+.ENDIF
$(MISC)$/scanner.cxx: $(MISC)$/stripped_scanner.ll
+flex -o$(MISC)$/scanner.cxx $(MISC)$/stripped_scanner.ll