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 / m15 / spbm / Makefile
| 1 | obj-m += aien_spbm_readonly.o |
| 2 | |
| 3 | KDIR ?= /lib/modules/$(shell uname -r)/build |
| 4 | |
| 5 | .PHONY: all clean tools check |
| 6 | all: |
| 7 | $(MAKE) -C $(KDIR) M=$(CURDIR) modules |
| 8 | |
| 9 | clean: |
| 10 | $(MAKE) -C $(KDIR) M=$(CURDIR) clean |
| 11 | |
| 12 | tools: sample load reduce contract_test |
| 13 | sample: sample.c |
| 14 | $(CC) -std=c11 -O2 -Wall -Wextra -Werror $< -o $@ -ldl |
| 15 | load: load.c |
| 16 | $(CC) -std=c11 -O2 -Wall -Wextra -Werror $< -o $@ -pthread |
| 17 | reduce: reduce.c |
| 18 | $(CC) -std=c11 -O2 -Wall -Wextra -Werror $< -o $@ |
| 19 | contract_test: contract_test.c contract.h |
| 20 | $(CC) -std=c11 -O2 -Wall -Wextra -Werror -fsanitize=address,undefined $< -o $@ |
| 21 | check: contract_test |
| 22 | ./contract_test |