helloJSON/compile
2023-06-19 08:33:02 +01:00

17 lines
242 B
Bash
Executable File

#!/bin/bash
CC=clang
CFLAGS="-g -Wall -Werror -pedantic -Iinclude"
SRC="src/main.c"
OUT=main
# DSTRING
CFLAGS+=" -Iinclude/dstring"
SRC+=" src/dstring/*.c"
# LEXER
CFLAGS+=" -Iinclude/lexer"
SRC+=" src/lexer/*.c"
$CC $CFLAGS $SRC -o $OUT