X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=mlp.git;a=blobdiff_plain;f=Makefile;h=57393721faa793dd1a6eb6bbc0175503810b2099;hp=48ecf1b52753bff497255fc8232fc1150b8a9d67;hb=HEAD;hpb=713c683d77fc94a4257c4031b0c51ef4669a3d4a diff --git a/Makefile b/Makefile index 48ecf1b..5739372 100644 --- 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 +# Copyright (c) 2006 École Polytechnique Fédérale de Lausanne, +# http://www.epfl.ch +# +# Written by Francois Fleuret # # 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}