diff options
author | nyamatongwe <devnull@localhost> | 2002-01-25 00:52:32 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2002-01-25 00:52:32 +0000 |
commit | 9221b0cf41643feac4178f3904d5e25ac51008f0 (patch) | |
tree | 1a8ba3c9e85ae26662b304554f368c1162aef427 | |
parent | 9b8808b1566a77f0b6359d111e6b7bcf9b31c02a (diff) | |
download | scintilla-mirror-9221b0cf41643feac4178f3904d5e25ac51008f0.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 |