summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJakob Odersky <jodersky@gmail.com>2011-03-12 13:04:12 +0000
committerJakob Odersky <jodersky@gmail.com>2011-03-12 13:04:12 +0000
commitf2163b32810d75bb4ea3e3f7c91ccdf2c6ada61a (patch)
tree7db53b842e3c03517c278d3ac6f71e37f22ed2a8 /Makefile
parenta4dc61b5e52fd8b0e89c575583b37277c9a43ffb (diff)
downloadvhc-f2163b32810d75bb4ea3e3f7c91ccdf2c6ada61a.tar.gz
vhc-f2163b32810d75bb4ea3e3f7c91ccdf2c6ada61a.tar.bz2
vhc-f2163b32810d75bb4ea3e3f7c91ccdf2c6ada61a.zip
Ajout des cibles make dans eclipse. Ajout d'une explication sur la structure du projet (structure.pdf).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 1194246..4cc5c84 100644
--- a/Makefile
+++ b/Makefile
@@ -29,22 +29,28 @@ export BINDIR = $(BASEDIR)/bin
# LDFLAGS += -pg # pour profiler
# CXXFLAGS += -O2 # pour optimiser la vitesse
-.PHONY: all checkdirs build clean
+.PHONY: all checkdirs build clean doc
-all: checkdirs build test-build
+all: checkdirs build test-build doc
# Compile les fichiers source principales
-build:
+build: checkdirs
@echo "Building main sources..."
make all -C $(SRCDIR)/main
@echo "Done building main sources."
# Compile les tests
-test-build:
+test-build: checkdirs build
@echo "Building test sources..."
make all -C $(SRCDIR)/test
@echo "Done building test sources."
+# Genere la documentation
+doc:
+ @echo "Building doc..."
+ doxygen Doxyfile
+ @echo "Done building doc."
+
# Verifie l'existance du repertoire de sortie
checkdirs: $(BINDIR)