diff --git a/build b/build new file mode 100644 index 0000000..8e1e5c1 --- /dev/null +++ b/build @@ -0,0 +1,3 @@ +#!/bin/bash + +bear -- ./compile diff --git a/compile b/compile new file mode 100644 index 0000000..dfbee72 --- /dev/null +++ b/compile @@ -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