Added a redirecting makefile instead of vimrc redirect.

This commit is contained in:
Linus_Probert 2018-01-30 17:39:47 +01:00
parent b13479b5e1
commit a479c6fbee
2 changed files with 11 additions and 2 deletions

2
.vimrc
View File

@ -1,6 +1,4 @@
nnoremap <F1> :Make<cr>
nnoremap <F2> :Make clean<cr>
au FileType c,h setl makeprg=make\ -C\ build
let g:syntastic_c_include_dirs = [ 'build' ]

11
Makefile Normal file
View File

@ -0,0 +1,11 @@
all:
@make -sC build
.PHONY: all
clean:
@make clean -sC build
.PHONY: clean
test:
@make test -sC build
.PHONY: test