From 899d2e5d76127372ab745be98719fe9d6435d36c Mon Sep 17 00:00:00 2001 From: Linus Probert Date: Thu, 13 Sep 2018 23:50:33 +0200 Subject: [PATCH] Update to build env --- .gitignore | 2 +- .vimrc | 4 ++-- Makefile | 14 ++++++++------ 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index d895019..4ee4647 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,4 @@ *~ /steam_appid.txt /*.so -/breakhack.run +/breakhack*.run diff --git a/.vimrc b/.vimrc index ebf83fd..d7501ab 100644 --- a/.vimrc +++ b/.vimrc @@ -1,7 +1,7 @@ nnoremap :Make nnoremap :Make lint test -nnoremap :Termdebug _build/breakhack -nnoremap :ter ++close ./_build/breakhack +nnoremap :Termdebug _build/debug/breakhack +nnoremap :ter ++close ./_build/debug/breakhack packadd termdebug let g:termdebug_wide = 1 diff --git a/Makefile b/Makefile index d7869b3..d371b6b 100644 --- a/Makefile +++ b/Makefile @@ -1,23 +1,25 @@ all: - @make -sC _build + @make -sC _build/debug + @make -sC _build/release .PHONY: all clean: - @make clean -sC _build + @make clean -sC _build/debug + @make clean -sC _build/release .PHONY: clean test: - @make test -sC _build + @make test -sC _build/debug .PHONY: test run: $(all) - @./_build/breakhack + @./_build/debug/breakhack .PHONY: run lint: - @make lint -sC _build + @make lint -sC _build/debug .PHONY: lint package: - @make package -sC _build + @make package -sC _build/release .PHONY: package