aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-27 13:14:46 +0100
committereunhhu <[email protected]>2026-09-27 13:14:46 +0100
commit04bc25fdf06247f3db781f581195ee7a16165a72 (patch)
treef7db74edeee0865f4b7480c28de89cd9a7d229b0 /Makefile
parent954e25c7f2d86b8be55405ab69027a32115b851a (diff)
downloadaup-04bc25fdf06247f3db781f581195ee7a16165a72.tar.gz
aup-04bc25fdf06247f3db781f581195ee7a16165a72.zip
Build Pure's hosts from its top level
Pure now keeps the app model, the store and pure-serve in core/, store/ and serve/ with one top-level make; the earlier document server the parity checks compare against stays in prototypes/connections.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 60f2d06..eec537d 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ CFLAGS ?= -O2 -g
CFLAGS += -std=c17 -Wall -Wextra -Wpedantic -Werror
BUILD ?= build
# The Pure checkout that owns the module format; tests load every module with it.
-PURE ?= ../pure/prototypes/connections
+PURE ?= ../pure
.PHONY: all check
all: $(BUILD)/aup
@@ -15,6 +15,6 @@ $(BUILD)/aup: src/main.c src/compile.c src/aup.h | $(BUILD)
$(CC) $(CPPFLAGS) $(CFLAGS) src/main.c src/compile.c $(LDFLAGS) $(LDLIBS) -o $@
check: $(BUILD)/aup
- $(MAKE) -C $(PURE) BUILD=build build/pure-run build/pure-edit-module build/pure-serve
- $(MAKE) -C $(PURE) BUILD=build/tree STORE=store-tree.c build/tree/pure-edit build/tree/pure-connections
+ $(MAKE) -C $(PURE) build/pure-run build/pure-edit-module build/pure-serve
+ $(MAKE) -C $(PURE)/prototypes/connections BUILD=build/tree STORE=store-tree.c build/tree/pure-edit build/tree/pure-connections
python3 tests/check.py --aup $(BUILD)/aup --pure-run $(PURE)/build/pure-run --pure $(PURE)