aboutsummaryrefslogtreecommitdiff
path: root/smash/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'smash/Makefile')
-rw-r--r--smash/Makefile7
1 files changed, 7 insertions, 0 deletions
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