Verify and publish documentation / test (macos-latest) (push) Canceled after 0s
Verify and publish documentation / test (ubuntu-latest) (push) Canceled after 0s
Verify and publish documentation / docs (push) Canceled after 0s
Verify and publish documentation / deploy (push) Canceled after 0s
Validate physical cards and CLI arguments, guard live DO cells, and share word encoding and checked numeric conversion. Preserve media on failed runs and bound notebook input, output, execution time and process cleanup. Clarify fixed-form editor support and compatibility evidence, add executable quick-start examples, and gate GitHub Pages on Linux/macOS and strict docs CI.
29 lines
800 B
Makefile
29 lines
800 B
Makefile
CC = gcc
|
|
CFLAGS = -std=c11 -Wall -Wextra -Werror -O2 -g
|
|
SRCS = src/util.c src/f704.c src/bcd.c src/wordmem.c src/bss.c src/tape.c src/debug.c src/parse.c src/format.c src/limits.c src/exec.c src/main.c
|
|
|
|
fortran704: $(SRCS) src/ftn.h
|
|
$(CC) $(CFLAGS) -o $@ $(SRCS) -lm
|
|
|
|
.PHONY: test test-oracle test-oracle-strict docs clean
|
|
test: fortran704
|
|
CC="$(CC)" sh tests/run.sh
|
|
python3 tests/test_sap.py
|
|
python3 tests/test_debug_media.py
|
|
python3 tests/test_cli.py
|
|
python3 tests/test_doc_examples.py
|
|
|
|
test-oracle: fortran704
|
|
python3 tools/test_oracle.py
|
|
python3 tools/oracle.py check --allow-known
|
|
python3 tools/oracle_chm.py check
|
|
|
|
test-oracle-strict: fortran704
|
|
python3 tools/oracle.py check
|
|
|
|
docs:
|
|
python3 -m sphinx -W --keep-going -n -c docs -b html . build/docs
|
|
|
|
clean:
|
|
rm -f fortran704 src/*.o
|