From 56b8202a23eb08167f27fea4782152959f8ea9ef Mon Sep 17 00:00:00 2001 From: eunhhu Date: Sun, 27 Sep 2026 13:45:45 +0100 Subject: Name aup's one part: compiler/ As in Pure and Vega, the top level directories are the parts; aup has one, the compiler, checked end to end by tests/check.py. --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index eec537d..68f5378 100644 --- a/Makefile +++ b/Makefile @@ -11,8 +11,9 @@ all: $(BUILD)/aup $(BUILD): mkdir -p $@ -$(BUILD)/aup: src/main.c src/compile.c src/aup.h | $(BUILD) - $(CC) $(CPPFLAGS) $(CFLAGS) src/main.c src/compile.c $(LDFLAGS) $(LDLIBS) -o $@ +# One part, the compiler (compiler/); tests/check.py checks it end to end on Pure. +$(BUILD)/aup: compiler/main.c compiler/compile.c compiler/aup.h | $(BUILD) + $(CC) $(CPPFLAGS) $(CFLAGS) compiler/main.c compiler/compile.c $(LDFLAGS) $(LDLIBS) -o $@ check: $(BUILD)/aup $(MAKE) -C $(PURE) build/pure-run build/pure-edit-module build/pure-serve -- cgit v1.2.3