
INC=../common

all: perceptron lms backprop pnn

perceptron: perceptron.c ../common/maths.c
	gcc -I$(INC) -o perceptron -Wall perceptron.c ../common/maths.c

lms: lms.c ../common/maths.c
	gcc -I$(INC) -o lms -Wall lms.c ../common/maths.c

backprop: backprop.c ../common/maths.c
	gcc -I$(INC) -o backprop -Wall backprop.c ../common/maths.c

pnn: pnn.c ../common/maths.c
	gcc -I$(INC) -o pnn -Wall pnn.c ../common/maths.c

clean:
	rm -f *.exe perceptron lms backprop
