diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-11-02 20:03:21 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-11-02 20:03:21 +0100 |
| commit | ada41e81dc2d0c01610767837d996f3cc004e008 (patch) | |
| tree | a88158274e56067d7ec097fa1a2160d9850c72df | |
| parent | 300c07ead71d1c063ecea6b3ee11191522f1031d (diff) | |
| download | libasm_test-ada41e81dc2d0c01610767837d996f3cc004e008.tar.gz libasm_test-ada41e81dc2d0c01610767837d996f3cc004e008.tar.bz2 libasm_test-ada41e81dc2d0c01610767837d996f3cc004e008.zip | |
Added bonus rule to Makefile
| -rw-r--r-- | Makefile | 5 | ||||
| -rw-r--r-- | README.md | 12 |
2 files changed, 13 insertions, 4 deletions
@@ -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) @@ -1,6 +1,6 @@ # libasm\_test -Unit tests for the libasm project. +Test for the libasm project of school 42.  @@ -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 ``` |
