diff options
| author | Nathan P. Reiner <nathan@nathanreiner.xyz> | 2022-12-16 10:47:35 +0100 |
|---|---|---|
| committer | Nathan P. Reiner <nathan@nathanreiner.xyz> | 2022-12-16 10:47:35 +0100 |
| commit | d5ed22276d65a0ef3d9bbe586ff4a2bbfd779714 (patch) | |
| tree | 6d70fcc56e098ad1eb5f5c2363cc906edc428064 /smash/Makefile | |
| parent | 39f40b08ca9ac010dbdb5ec42fafee736f66e701 (diff) | |
add env path execution
Diffstat (limited to 'smash/Makefile')
| -rw-r--r-- | smash/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/smash/Makefile b/smash/Makefile index 7012bdd..0f62c63 100644 --- a/smash/Makefile +++ b/smash/Makefile @@ -12,5 +12,9 @@ unit_test_builtin: gcc builtin.c ../lib/cstr/cstr.c ../lib/sys/start.S -static -nostdlib -fno-stack-protector -Wno-implicit-function-declaration -o test -DBUILTIN_UNIT_TEST -g ./test +unit_test_exec: + gcc exec.c builtin.c parser.c ../lib/cstr/cstr.c ../lib/io/io.c ../lib/env/env.c ../lib/malloc/malloc.c ../lib/sys/start.S -static -nostdlib -fno-stack-protector -Wno-implicit-function-declaration -o test -DEXEC_UNIT_TEST -g + ./test + all: - gcc main.c exec.c parser.c builtin.c ../lib/io/io.c ../lib/avl_tree/avl_tree.c ../lib/cstr/cstr.c ../lib/malloc/malloc.c ../lib/sys/start.S -static -nostdlib -fno-stack-protector -Wno-implicit-function-declaration -o smash -DVARIABLES_UNIT_TEST -g + gcc main.c exec.c parser.c builtin.c ../lib/env/env.c ../lib/io/io.c ../lib/avl_tree/avl_tree.c ../lib/cstr/cstr.c ../lib/malloc/malloc.c ../lib/sys/start.S -static -nostdlib -fno-stack-protector -Wno-implicit-function-declaration -o smash -DVARIABLES_UNIT_TEST -g |