summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJakob Odersky <jodersky@gmail.com>2011-03-29 17:15:43 +0000
committerJakob Odersky <jodersky@gmail.com>2011-03-29 17:15:43 +0000
commit9aae664e3c7dbbe8ba5bde9959b88e7d55377f6d (patch)
tree27fb632636bc77d29910565cf1d814bf463ba554 /Makefile
parentcc0dec38cfebc47e687e97c548674da35f248ba8 (diff)
downloadvhc-9aae664e3c7dbbe8ba5bde9959b88e7d55377f6d.tar.gz
vhc-9aae664e3c7dbbe8ba5bde9959b88e7d55377f6d.tar.bz2
vhc-9aae664e3c7dbbe8ba5bde9959b88e7d55377f6d.zip
Implementation de quadripole et de maille FODO.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile27
1 files changed, 17 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 56be9c7..74e51bf 100644
--- a/Makefile
+++ b/Makefile
@@ -32,9 +32,7 @@ export BINDIR = $(BASEDIR)/bin
export CXXFLAGS
-.PHONY: all checkdirs build test-build doc test clean
-
-all: checkdirs build test-build doc test
+all: checkdirs build test-build gui-build doc test
# Compile les fichiers source principales
build: checkdirs
@@ -48,24 +46,33 @@ test-build: build
make all -C $(SRCDIR)/test
@echo "Done building test sources."
+gui-build: build
+ @echo "Building GUI..."
+ cd $(SRCDIR)/gui; qmake; make all
+ @echo "Done building GUI."
+
# Genere la documentation
doc:
@echo "Building doc..."
doxygen Doxyfile
@echo "Done building doc."
+
# Verifie l'existance du repertoire de sortie
checkdirs: $(BINDIR)
-# Cree le repertoire de sortie
-$(BINDIR):
- @mkdir -p $@
-
-clean:
- rm -rf $(BINDIR)
# Lance les tests
test: test-build
./testr.sh $(BINDIR)/test
-
+
+clean:
+ rm -rf $(BINDIR)
+
+# Cree le repertoire de sortie
+$(BINDIR):
+ @mkdir -p $@
+
+
+.PHONY: all checkdirs build test-build gui-build doc test clean