From ddc2a19b6591dc254462d44aefa37bc25aaaf9bb Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 27 May 2024 00:01:46 -0500 Subject: Fix emit and read, add imports, fix makefile --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2be0ca1..b4f54b6 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ LIBS = read emit util BUILD = $(PWD)/build SRC = $(PWD)/src +TESTS = $(PWD)/tests CSC = /usr/bin/csc CSI = /usr/bin/csi @@ -14,8 +15,8 @@ CSC_OPTIONS = \ -emit-all-import-libraries \ -dynamic \ -regenerate-import-libraries \ - -I $(PWD) \ - -C -I$(PWD) + -I $(SRC) \ + -C -I$(SRC) CSC_OPTIONS_EXTRA = \ -X utf8 \ @@ -37,7 +38,7 @@ build: $(LIBS_) test: build cd $(BUILD) && \ - $(CSI) -setup-mode -s tests/run.scm $(NAME) + $(CSI) -setup-mode -s $(TESTS)/run.scm $(NAME) clean: -rm -rf $(BUILD) -- cgit 1.4.1-21-gabe81