diff options
author | nyamatongwe <unknown> | 2002-01-25 00:52:32 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2002-01-25 00:52:32 +0000 |
commit | bc7264044e1b3f546be9f747857e840defe0b37d (patch) | |
tree | 1a8ba3c9e85ae26662b304554f368c1162aef427 | |
parent | 8d892af3202770ce8d770baec2092886c5780c43 (diff) | |
download | scintilla-mirror-bc7264044e1b3f546be9f747857e840defe0b37d.tar.gz |
Patch from Stephan to make work on OS X.
-rw-r--r-- | gtk/makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gtk/makefile b/gtk/makefile index 877b3318d..15dec4564 100644 --- a/gtk/makefile +++ b/gtk/makefile @@ -7,6 +7,13 @@ .SUFFIXES: .cxx .o .h .a CC = g++ AR = ar +RANLIB = touch + +ifeq ($(OSTYPE),darwin) +CC = c++ +AR = ar +RANLIB = ranlib +endif COMPLIB=../bin/scintilla.a @@ -25,8 +32,8 @@ endif .cxx.o: $(CC) `gtk-config --cflags` $(CXXFLAGS) -c $< -LEXOBJS=LexAda.o LexAVE.o LexBaan.o LexBullant.o LexConf.o LexCPP.o \
- LexCrontab.o LexEiffel.o LexHTML.o LexLisp.o LexLua.o LexOthers.o \
+LEXOBJS=LexAda.o LexAVE.o LexBaan.o LexBullant.o LexConf.o LexCPP.o \ + LexCrontab.o LexEiffel.o LexHTML.o LexLisp.o LexLua.o LexOthers.o \ LexPascal.o LexPerl.o LexPython.o LexRuby.o LexSQL.o LexVB.o # The LEXOBJS have to be treated specially as the functions in them are not called from external code @@ -44,6 +51,7 @@ $(COMPLIB): DocumentAccessor.o WindowAccessor.o KeyWords.o StyleContext.o Docume KeyMap.o LineMarker.o ScintillaGTK.o CellBuffer.o ViewStyle.o \ RESearch.o Style.o Indicator.o AutoComplete.o $(AR) rc $@ $^ + $(RANLIB) $@ # Automatically generate header dependencies with "make deps" include deps.mak |