Added #include <unistd.h> for nice().
[mlp.git] / Makefile
index 48ecf1b..5739372 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,10 @@
 
 #  mlp-mnist is an implementation of a multi-layer neural network.
 #
-#  Copyright (c) 2008 Idiap Research Institute, http://www.idiap.ch/
-#  Written by Francois Fleuret <francois.fleuret@idiap.ch>
+#  Copyright (c) 2006 École Polytechnique Fédérale de Lausanne,
+#  http://www.epfl.ch
+#
+#  Written by Francois Fleuret <francois@fleuret.org>
 #
 #  This file is part of mlp-mnist.
 #
@@ -25,16 +27,16 @@ else
  CXXFLAGS = -Wall -ffast-math -fcaller-saves -finline-functions -funroll-all-loops -O3
 endif
 
-all: ann
+all: mlp
 
-ann: ann.o misc.o images.o neural.o
+mlp: mlp.o misc.o images.o neural.o
        $(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
 
 Makefile.depend: *.h *.cc Makefile
        $(CC) -M *.cc > Makefile.depend
 
 clean:
-       \rm ann *.o Makefile.depend
+       \rm -f mlp *.o Makefile.depend
 
 archive:
        cd .. ; tar zcvf mlp-mnist.tgz mlp-mnist/{*.{cc,h,txt,sh},Makefile}