diff options
| author | 2024-06-21 00:22:44 -0400 | |
|---|---|---|
| committer | 2024-06-21 00:22:44 -0400 | |
| commit | e300baf0db9a39aa16b61c5f8d9c74ec90b86480 (patch) | |
| tree | f55b340875ad7d5e05016ac748fb29d22b1e8ef5 /Makefile | |
| parent | tokenizer (diff) | |
parsing
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,6 +1,13 @@ +.PHONY: run UNIVERSAL_SERVICE_DIR=universalservice CFLAGS=-I${UNIVERSAL_SERVICE_DIR}/include -g -I${UNIVERSAL_SERVICE_DIR}/examples/string -std=c89 -Wall -pedantic -Werror LDFLAGS=-L${UNIVERSAL_SERVICE_DIR} -luniversalservice -L${UNIVERSAL_SERVICE_DIR}/examples/string -lunsstring flatrate: main.c $(CC) main.c -o flatrate $(CFLAGS) $(LDFLAGS) +run: flatrate + LD_LIBRARY_PATH="$$(pwd)/${UNIVERSAL_SERVICE_DIR}/:$$(pwd)/${UNIVERSAL_SERVICE_DIR}/examples/string" ./flatrate < prelude.scm +debug: flatrate + LD_LIBRARY_PATH="$$(pwd)/${UNIVERSAL_SERVICE_DIR}/:$$(pwd)/${UNIVERSAL_SERVICE_DIR}/examples/string" gdb -tui ./flatrate +valgrind: flatrate + LD_LIBRARY_PATH="$$(pwd)/${UNIVERSAL_SERVICE_DIR}/:$$(pwd)/${UNIVERSAL_SERVICE_DIR}/examples/string" valgrind ./flatrate < prelude.scm |
