aboutsummaryrefslogtreecommitdiff
path: root/src/tests/slab_test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/slab_test/Makefile')
-rw-r--r--src/tests/slab_test/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tests/slab_test/Makefile b/src/tests/slab_test/Makefile
new file mode 100644
index 0000000..4cda341
--- /dev/null
+++ b/src/tests/slab_test/Makefile
@@ -0,0 +1,5 @@
+slab_test.bin: slab_test.c ../../common/include/slab_alloc.h ../../common/libkogata/slab_alloc.c
+ gcc -m32 -o $@ -std=c99 -I ../../common/include slab_test.c ../../common/libkogata/slab_alloc.c
+
+run_test: slab_test.bin
+ ./slab_test.bin