started moving learning algos to new namespace Machnine Learning
This commit is contained in:
25
src/NeuralNetwork/Makefile
Normal file
25
src/NeuralNetwork/Makefile
Normal file
@@ -0,0 +1,25 @@
|
||||
OBJFILES=\
|
||||
FeedForward.o\
|
||||
Learning/Learning.o Learning/BackPropagation.o Learning/OpticalBackPropagation.o
|
||||
|
||||
LINKFILES= ../sse_mathfun.o
|
||||
|
||||
LIBNAME=NeuralNetwork
|
||||
|
||||
include ../../Makefile.const
|
||||
|
||||
all: lib
|
||||
|
||||
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
|
||||
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
|
||||
Reference in New Issue
Block a user