OBJFILES=\ LayerNetwork.o\ Learning/Learning.o Learning/BackPropagation.o ../sse_mathfun.o LINKFILES= LIBNAME=NeuralNetwork include ../../Makefile.const all: lib ../sse_mathfun.o: ../sse_mathfun.cpp ../sse_mathfun.h make -C ../ lib: $(LIBNAME).so $(LIBNAME).a $(LIBNAME).so: $(OBJFILES) $(CXX) -shared $(CXXFLAGS) $(OBJFILES) $(LINKFILES) -o $(LIBNAME).so $(LIBNAME).a: $(OBJFILES) ./Neuron.h ./Network.h ../Solution.h ../Problem.h ./ActivationFunction/ActivationFunction.h ./ActivationFunction/Sigmoid.h rm -f $(LIBNAME).a # create new library ar rcv $(LIBNAME).a $(OBJFILES) $(LINKFILES) ranlib $(LIBNAME).a nm --demangle $(LIBNAME).a > $(LIBNAME).nm clean: @rm -f ./*.o ./*.so ./*.a ./*.nm ./*/*.o