- Add the build and .vscode folders to gitignore

- Make the build target dependent on files in the src/ folder
This commit is contained in:
Alfred Reynolds
2021-07-29 11:53:55 +12:00
parent 23a0e208bf
commit bee9a78986
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View File

@@ -1,3 +1,5 @@
make make
.swp .swp
.git .git
build
.vscode

View File

@@ -20,7 +20,7 @@ check-deps-deb:
clean: clean:
rm -rf build rm -rf build
build: build: $(shell find src -type f)
mkdir -p build mkdir -p build
qmake src/slide.pro -o build/Makefile qmake src/slide.pro -o build/Makefile
make -C build make -C build