From d179f1846f9372920ef02f08cfb4d3abe99b383f Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Wed, 14 Dec 2022 18:26:49 +0100 Subject: first commit --- smash/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 smash/Makefile (limited to 'smash/Makefile') diff --git a/smash/Makefile b/smash/Makefile new file mode 100644 index 0000000..3f684cd --- /dev/null +++ b/smash/Makefile @@ -0,0 +1,7 @@ +unit_test_parser: + gcc parser.c ../lib/cstr/cstr.c ../lib/malloc/malloc.c ../lib/sys/start.S -static -nostdlib -fno-stack-protector -o test -DPARSER_UNIT_TEST -g + ./test + +unit_test_variables: + gcc variables.c ../lib/avl_tree/avl_tree.c ../lib/cstr/cstr.c ../lib/malloc/malloc.c ../lib/sys/start.S -static -nostdlib -fno-stack-protector -o test -DVARIABLES_UNIT_TEST -g + ./test -- cgit v1.2.3-70-g09d2