aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-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
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
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