Mercurial > hg > plml
diff cpp/Makefile @ 5:193d582746e5
Add CXX variable to select which C++ compiler to use, needed for Lion.
author | samer |
---|---|
date | Thu, 19 Jan 2012 14:25:38 +0000 |
parents | 460f6c74b33a 9b16fbec2f33 |
children | 440734a35533 |
line wrap: on
line diff
--- a/cpp/Makefile Tue Jan 17 18:39:14 2012 +0000 +++ b/cpp/Makefile Thu Jan 19 14:25:38 2012 +0000 @@ -4,8 +4,7 @@ TARGET=plml.$(SO) INCML=$(MATLAB)/extern/include LIBML=$(MATLAB)/bin/$(MLARCH) -PLLDFLAGS=-c++ g++-apple-4.2 $(INCLUDES) -I$(INCML) -Wall -# use -c++ g++-4.2 on Snow Leopard +PLLDFLAGS=$(CXX) $(INCLUDES) -I$(INCML) -Wall .SUFFIXES: .cpp .o .so .dylib