Fix watch if compilation fails, update README

This commit is contained in:
Corentin 2022-11-02 19:57:27 +09:00
commit ce74e6135e
2 changed files with 20 additions and 10 deletions

View file

@ -10,6 +10,8 @@ The advantages of this tool are :
* hash system to avoid time check issues (same file content, remote files problems, etc)
* watch option to recompile whenever a source is changed
## Use
@ -25,15 +27,14 @@ This repository is meant to be used as a submodule of a C/C++ project.
By default 3 targets can be used `make` (or `make all` as usual default of makefiles), `make debug` and `make clean`.
**Be careful** : `clean` will delete the object and binary output directories defined in `make.py`.
**Example :** from the root folder of a project :
```
git submodule add https://gitlab.com/corentin-pro/umake.git && cp umake/make* .
```
Then change the configuration in `make.py` and a simple `make` command will build your project!
## How it works