Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/mk/omegatool-path.mk # 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 Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / mk / omegatool-path.mk` 15 lines ยท 997 bytes Raw Blame History 1 # omegatool must not embed the omega checkout or physics path (CAND-2 prep). The physics 2 # location is resolved at run time by src/omega_physics_dir.h (included by the C gate runners); the 3 # resolution rule and the pin checks run on that header and on its pure OM-2 port 4 # src/omega_physics_dir.om. 5 OMEGATOOL_PATH_OMC ?= seed/out/omc 6 OMEGATOOL_PATH_OM_SRCS := src/omega_physics_dir.om tests/omegatool_path/physics_dir_test.om 7 .PHONY: test-omegatool-path 8 $(OUT_DIR)/omegatool_path_test_om: $(OMEGATOOL_PATH_OM_SRCS) $(OMEGATOOL_PATH_OMC) 9 @mkdir -p $(dir $@) 10 (printf 'om2\n'; sed '/^om2$$/d' $(OMEGATOOL_PATH_OM_SRCS)) | $(OMEGATOOL_PATH_OMC) > $@ && chmod +x $@ 11 test-omegatool-path: $(OUT_DIR)/omegatool_path_test_om 12 $(CC) -std=gnu11 -Wall -Wextra -Werror -D_GNU_SOURCE -O2 -Isrc -o $(OUT_DIR)/omegatool_path_test tests/omegatool_path/physics_dir_test.c 13 $(OUT_DIR)/omegatool_path_test 14 $(OUT_DIR)/omegatool_path_test_om 15 PHYSICS_DIR=$(PHYSICS_DIR) tests/omegatool_path/no_embedded_path_test.sh