annotate cpp/Makefile @ 37:89688ebc447f tip

Deprecating this repository.
author samer
date Mon, 05 Jan 2015 17:42:03 +0000
parents 256016cddcba
children
rev   line source
samer@0 1 # This will not work as a stand-alone make file - it must be
samer@0 2 # called recursively from the make file in the directory above.
samer@0 3
samer@0 4 TARGET=plml.$(SO)
samer@0 5 INCML=$(MATLAB)/extern/include
samer@0 6 LIBML=$(MATLAB)/bin/$(MLARCH)
samer@19 7 PLLDFLAGS=$(CXX) $(INCLUDES) -I$(INCML) -Wall
samer@0 8
samer@0 9 .SUFFIXES: .cpp .o .so .dylib
samer@0 10
samer@0 11 main: $(TARGET)
samer@0 12
samer@0 13 clean:
samer@0 14 rm $(TARGET)
samer@0 15
samer@0 16 .cpp.so:
samer@0 17 $(PLLD) -v $(PLLDFLAGS) -L$(LIBML) -shared $(MLLIBS) -o $@ $<
samer@0 18 strip -x $@
samer@0 19
samer@0 20 .cpp.dylib:
samer@0 21 $(PLLD) -v $(PLLDFLAGS) -L$(LIBML) -shared $(MLLIBS) -o $@ $<
samer@0 22 strip -x $@
samer@0 23
samer@0 24 install:
samer@0 25 install -d $(INSTALL_LIB_TO)
samer@0 26 install $(INSTALL_FLAGS) $(TARGET) $(INSTALL_LIB_TO)
samer@19 27 install $(INSTALL_FLAGS) logio $(INSTALL_LIB_TO)
samer@0 28