Import libcds.
[SXSI/libcds.git] / Makefile
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..678a108
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,32 @@
+
+all: clean libcompact 
+
+
+doc:
+       @echo " [DOC] Generating documentation"
+       @doxygen
+
+libcompact: 
+       @echo " [MSG] Entering directory src"
+       @make --no-print-directory -C src
+
+tests: libcompact
+       @echo " [MSG] Entering directory tests"
+       @make --no-print-directory -C tests
+
+clean:
+       @echo " [MSG] Entering directory src"
+       @make --no-print-directory -C src clean
+       @echo " [MSG] Entering directory tests"
+       @make --no-print-directory -C tests clean
+       @echo " [CLN] Cleaning docs folder"
+       @rm -rf docs/*
+       @touch docs/delete_me
+       @echo " [CLN] Cleaning lib folder"
+       @rm -f lib/*
+       @touch lib/delete_me
+       @echo " [CLN] Cleaning includes folder"
+       @rm -f includes/*
+       @touch includes/delete_me
+
+