diff options
| author | eunhhu <[email protected]> | 2026-09-27 13:45:45 +0100 |
|---|---|---|
| committer | eunhhu <[email protected]> | 2026-09-27 13:45:45 +0100 |
| commit | 56b8202a23eb08167f27fea4782152959f8ea9ef (patch) | |
| tree | b9a52400f440b98cd0ba805fee633899093eb530 | |
| parent | 04bc25fdf06247f3db781f581195ee7a16165a72 (diff) | |
| download | aup-56b8202a23eb08167f27fea4782152959f8ea9ef.tar.gz aup-56b8202a23eb08167f27fea4782152959f8ea9ef.zip | |
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.
| -rw-r--r-- | Makefile | 5 | ||||
| -rw-r--r-- | compiler/aup.h (renamed from src/aup.h) | 0 | ||||
| -rw-r--r-- | compiler/compile.c (renamed from src/compile.c) | 0 | ||||
| -rw-r--r-- | compiler/main.c (renamed from src/main.c) | 0 |
4 files changed, 3 insertions, 2 deletions
@@ -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 diff --git a/src/aup.h b/compiler/aup.h index 98b59b0..98b59b0 100644 --- a/src/aup.h +++ b/compiler/aup.h diff --git a/src/compile.c b/compiler/compile.c index 3c4f0cc..3c4f0cc 100644 --- a/src/compile.c +++ b/compiler/compile.c diff --git a/src/main.c b/compiler/main.c index b117df4..b117df4 100644 --- a/src/main.c +++ b/compiler/main.c |
