Commit 1e1fb2d9 authored by Joao Fabro's avatar Joao Fabro

Upload New File

parent f26dfc7f
CC=g++
cc=gcc
CFLAGS=
OBJECTS=neuron.o neuronet.o trnpair.o vectorpair.o neural.o
LIBS= -L/usr/local/lib -lm
INCLUDES= -I /usr/local/include/g++-3 -O3
neural: neuron.o neuronet.o trnpair.o vectorpair.o neural.o
$(CC) neuron.o neuronet.o trnpair.o vectorpair.o neural.o -L/usr/local/lib -o neural -lm
neuron.o: neuron.cpp neuro.h
$(CC) $(CFLAGS) -c neuron.cpp $(INCLUDES) -o neuron.o
neuronet.o: neuronet.cpp neuro.h
$(CC) $(CFLAGS) -c neuronet.cpp $(INCLUDES) -o neuronet.o
trnpair.o: trnpair.cpp neuro.h
$(CC) $(CFLAGS) -c trnpair.cpp $(INCLUDES) -o trnpair.o
vectorpair.o: vectorpair.cpp neuro.h
$(CC) $(CFLAGS) -c vectorpair.cpp $(INCLUDES) -o vectorpair.o
neural.o: neural.cpp neuro.h
$(CC) $(CFLAGS) -c neural.cpp $(INCLUDES) -o neural.o
clean:
rm *.o
rm neural
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment