aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rw-r--r--README.md12
2 files changed, 13 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 314f184..f6faad0 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@
# By: cacharle <marvin@42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2020/02/08 03:06:59 by cacharle #+# #+# #
-# Updated: 2020/11/02 19:53:57 by charles ### ########.fr #
+# Updated: 2020/11/02 20:01:39 by charles ### ########.fr #
# #
# **************************************************************************** #
@@ -62,6 +62,9 @@ run_raw: all
run_debug: all
./$(NAME)
+bonus:
+ $(MAKE) LIBASM_TEST_BONUS=yes
+
all: $(NAME)
$(NAME): libasm_all $(OBJ)
diff --git a/README.md b/README.md
index da5313f..df3f04a 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# libasm\_test
-Unit tests for the libasm project.
+Test for the libasm project of school 42.
![example\_screenshot](./screenshot.png)
@@ -8,14 +8,20 @@ Unit tests for the libasm project.
The default path to your libasm is `../libasm`. You can modify it in the Makefile.
-```
+```sh
$ make
```
## Bonus
-Set the environment variable `LIBASM_TEST_BONUS` to `yes`.
+```sh
+$ make bonus
```
+
+Or:
+
+Set the environment variable `LIBASM_TEST_BONUS` to `yes`.
+```sh
$ echo 'export LIBASM_TEST_BONUS=yes' >> ~/.zshrc
```