aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-27 13:45:45 +0100
committereunhhu <[email protected]>2026-09-27 13:45:45 +0100
commit56b8202a23eb08167f27fea4782152959f8ea9ef (patch)
treeb9a52400f440b98cd0ba805fee633899093eb530 /Makefile
parent04bc25fdf06247f3db781f581195ee7a16165a72 (diff)
downloadaup-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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
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