aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-01-31 10:39:15 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-01-31 10:39:15 -0300
commit72cf89bce8e4230dbc161dc5606f48ef9884ba70 (patch)
tree3ee06dbd8c57e291a8713289670ae1cb51397d44 /Makefile
downloadrneovim-72cf89bce8e4230dbc161dc5606f48ef9884ba70.tar.gz
rneovim-72cf89bce8e4230dbc161dc5606f48ef9884ba70.tar.bz2
rneovim-72cf89bce8e4230dbc161dc5606f48ef9884ba70.zip
Import vim from changeset v5628:c9cad40b4181
- Cleanup source tree, leaving only files necessary for compilation/testing - Process files through unifdef to remove tons of FEAT_* macros - Process files through uncrustify to normalize source code formatting. - Port the build system to cmake
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000000..4bdfaa39aa
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+CMAKE_FLAGS := -DCMAKE_BUILD_TYPE=Debug
+
+test: build/src/vim
+ cd src/testdir && make
+
+build/src/vim:
+ cd build && make
+
+cmake:
+ rm -rf build
+ mkdir build
+ cd build && cmake $(CMAKE_FLAGS) ../
+
+.PHONY: test cmake