aboutsummaryrefslogtreecommitdiff
path: root/compile.sh
diff options
context:
space:
mode:
authorMustafa Quraish <[email protected]>2022-01-30 02:18:57 -0500
committerMustafa Quraish <[email protected]>2022-01-30 18:04:13 -0500
commitfe1febfc4b68c0494790d915c6247d98ed2205e9 (patch)
tree3aa68d57f7a9df9963aadcda351fb41a1b08162e /compile.sh
parentRename `cup` directory to `src` (diff)
downloadcup-fe1febfc4b68c0494790d915c6247d98ed2205e9.tar.xz
cup-fe1febfc4b68c0494790d915c6247d98ed2205e9.zip
Update build system to use Makefile
`make` to compile the compiler `make XXX.out` to assemble/link `XXX.nasm` into an executable `make test` to run all tests `make tests/XXX` to run `tests/XXX.sh` test file `./run.sh <cupcc args>` to build, compile, run and show exit code
Diffstat (limited to 'compile.sh')
-rwxr-xr-xcompile.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/compile.sh b/compile.sh
deleted file mode 100755
index fa24474..0000000
--- a/compile.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-
-CC=gcc
-CFLAGS="-Wall -Wextra -Werror -ggdb3"
-SRCS=src/*.c
-
-set -xe
-
-$CC $CFLAGS $SRCS -o cupcc