interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / mk / visor-world.mk

21 lines · 1154 bytes Raw Blame History
1# Omega Visor V1, lane 6 (World view). Test-only runtime link.
2# The runtime core (rx_caproot/rx_world/rx_coherent + sha256) includes no physics
3# header; only omega_evidence.c does, and it is NOT linked here. The recipe still
4# uses the Makefile's $(CFLAGS) (same flags as RX_TEST) so the build matches the
5# other runtime tests; run with PHYSICS_DIR=<physics checkout>.
6# src/visor/rx/ is outside the src/visor/*.c wildcard, so build/omega never links
7# visor_world_rx.c or any runtime object.
8VISOR_WORLD_RX_SRCS = src/runtime/rx_caproot.c src/runtime/rx_world.c src/runtime/rx_coherent.c \
9 src/omega_om_units.c src/visor/rx/visor_world_rx.c tests/visor/test_visor_world.c
10VISOR_WORLD_TEST = $(OUT_DIR)/tests-visor-world/test_visor_world
11
12$(OUT_DIR)/tests-visor-world:
13 mkdir -p $@
14
15$(VISOR_WORLD_TEST): $(VISOR_WORLD_RX_SRCS) $(OUT_DIR)/visor/visor_world.o src/visor/visor_world.h \
16 src/runtime/rx_world.h src/runtime/rx_caproot.h | $(OUT_DIR)/tests-visor-world
17 $(CC) $(CFLAGS) -Isrc/visor -pthread -o $@ $(VISOR_WORLD_RX_SRCS) $(OUT_DIR)/visor/visor_world.o
18
19.PHONY: test-visor-world
20test-visor-world: $(VISOR_WORLD_TEST)
21 ./$(VISOR_WORLD_TEST)