Add build scripts

This commit is contained in:
abdelrahman committed 2023-12-30 19:08:50 +00:00
1 parent 0ba206e28f
commit 8dc280e22b
2 files changed
+12

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
bear -- ./compile
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
CC=clang
CFLAGS="-g"
LIBS="-lm"
$CC $CFLAGS -I01_no_metaprogramming ./01_no_metaprogramming/*.c $LIBS -o 01_vec_no_metaprogramming
$CC $CFLAGS -I02_macros ./02_macros/*.c $LIBS -o 02_vec_macros
$CC $CFLAGS -I03_xmacros ./03_xmacros/*.c $LIBS -o 03_vec_xmacros