Update to build env
This commit is contained in:
parent
cfbd8cea4d
commit
899d2e5d76
|
@ -12,4 +12,4 @@
|
||||||
*~
|
*~
|
||||||
/steam_appid.txt
|
/steam_appid.txt
|
||||||
/*.so
|
/*.so
|
||||||
/breakhack.run
|
/breakhack*.run
|
||||||
|
|
4
.vimrc
4
.vimrc
|
@ -1,7 +1,7 @@
|
||||||
nnoremap <F1> :Make<cr>
|
nnoremap <F1> :Make<cr>
|
||||||
nnoremap <F2> :Make lint test<cr>
|
nnoremap <F2> :Make lint test<cr>
|
||||||
nnoremap <F3> :Termdebug _build/breakhack<cr>
|
nnoremap <F3> :Termdebug _build/debug/breakhack<cr>
|
||||||
nnoremap <F4> :ter ++close ./_build/breakhack<cr>
|
nnoremap <F4> :ter ++close ./_build/debug/breakhack<cr>
|
||||||
|
|
||||||
packadd termdebug
|
packadd termdebug
|
||||||
let g:termdebug_wide = 1
|
let g:termdebug_wide = 1
|
||||||
|
|
14
Makefile
14
Makefile
|
@ -1,23 +1,25 @@
|
||||||
all:
|
all:
|
||||||
@make -sC _build
|
@make -sC _build/debug
|
||||||
|
@make -sC _build/release
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@make clean -sC _build
|
@make clean -sC _build/debug
|
||||||
|
@make clean -sC _build/release
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
|
|
||||||
test:
|
test:
|
||||||
@make test -sC _build
|
@make test -sC _build/debug
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
|
|
||||||
run: $(all)
|
run: $(all)
|
||||||
@./_build/breakhack
|
@./_build/debug/breakhack
|
||||||
.PHONY: run
|
.PHONY: run
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
@make lint -sC _build
|
@make lint -sC _build/debug
|
||||||
.PHONY: lint
|
.PHONY: lint
|
||||||
|
|
||||||
package:
|
package:
|
||||||
@make package -sC _build
|
@make package -sC _build/release
|
||||||
.PHONY: package
|
.PHONY: package
|
||||||
|
|
Loading…
Reference in New Issue