omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / research / atemporal / at0 / evaluator / Makefile
| 1 | # AT-0 Agent 4 independent evaluator (research/atemporal/at0/evaluator). |
| 2 | # Standalone: not part of omega `all` or `test`; not mk/at0.mk (Agent 5 owns that). |
| 3 | # Links exactly one omega source: src/omega_om_units.c (charter section 3). |
| 4 | OMEGA_ROOT ?= ../../../.. |
| 5 | OUT ?= build |
| 6 | CC ?= cc |
| 7 | CFLAGS ?= -std=c11 -Wall -Wextra -Werror -pedantic -O2 -D_POSIX_C_SOURCE=200809L |
| 8 | ASAN = -O1 -g -fsanitize=address,undefined -fno-sanitize-recover=all |
| 9 | SRCS = src/at0e_big.c src/at0e_text.c src/at0e_case.c src/at0e_shadow.c src/at0e_result.c src/at0e_synth.c src/at0e_main.c |
| 10 | INC = -Isrc -I$(OMEGA_ROOT)/src |
| 11 | |
| 12 | .PHONY: all asan clean selftest |
| 13 | all: $(OUT)/at0-eval |
| 14 | $(OUT)/at0-eval: $(SRCS) src/at0e.h $(OMEGA_ROOT)/src/omega_om_units.c |
| 15 | @mkdir -p $(OUT) |
| 16 | $(CC) $(CFLAGS) $(INC) -o $@ $(SRCS) $(OMEGA_ROOT)/src/omega_om_units.c -lm |
| 17 | asan: $(OUT)/at0-eval-asan |
| 18 | $(OUT)/at0-eval-asan: $(SRCS) src/at0e.h $(OMEGA_ROOT)/src/omega_om_units.c |
| 19 | @mkdir -p $(OUT) |
| 20 | $(CC) -std=c11 -Wall -Wextra -Werror -pedantic $(ASAN) -D_POSIX_C_SOURCE=200809L $(INC) -o $@ $(SRCS) $(OMEGA_ROOT)/src/omega_om_units.c -lm |
| 21 | selftest: all |
| 22 | sh run.sh --self-only |
| 23 | clean: |
| 24 | rm -rf $(OUT) |