diff options
| -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 | 
