diff options
| author | Mustafa Quraish <[email protected]> | 2022-01-24 11:41:31 -0500 |
|---|---|---|
| committer | Mustafa Quraish <[email protected]> | 2022-01-24 11:41:31 -0500 |
| commit | 8fdfe1150a2155da5ea9d458adc347c4a6de5ce1 (patch) | |
| tree | e0383491fac4c2d9f65799270fba4e596f8852aa /compile.sh | |
| download | cup-8fdfe1150a2155da5ea9d458adc347c4a6de5ce1.tar.xz cup-8fdfe1150a2155da5ea9d458adc347c4a6de5ce1.zip | |
Initial commit + start of lexer
Diffstat (limited to 'compile.sh')
| -rwxr-xr-x | compile.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/compile.sh b/compile.sh new file mode 100755 index 0000000..faeaf52 --- /dev/null +++ b/compile.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +CC=gcc +CFLAGS="-Wall -Wextra -Werror -ggdb3" +SRCS=cup/*.c + +set -xe + +$CC $CFLAGS $SRCS -o cupcc +./cupcc $@ |