summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile11
2 files changed, 11 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 252e1804..562d0d77 100644
--- a/.gitignore
+++ b/.gitignore
@@ -26,7 +26,6 @@ CMakeLists.txt.user
 moc_*.cpp
 qrc_*.cpp
 ui_*.h
-Makefile*
 *-build-*
 
 # QtCreator
diff --git a/Makefile b/Makefile
new file mode 100644
index 00000000..d42d768b
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+run: build
+	@./build/nheko
+
+build:
+	@cmake -H. -Bbuild
+	@make -C build
+
+clean:
+	rm -rf build
+
+.PHONY: build