diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile index 2be0ca1..b4f54b6 100644 --- a/Makefile +++ b/Makefile | |||
@@ -4,6 +4,7 @@ LIBS = read emit util | |||
4 | 4 | ||
5 | BUILD = $(PWD)/build | 5 | BUILD = $(PWD)/build |
6 | SRC = $(PWD)/src | 6 | SRC = $(PWD)/src |
7 | TESTS = $(PWD)/tests | ||
7 | 8 | ||
8 | CSC = /usr/bin/csc | 9 | CSC = /usr/bin/csc |
9 | CSI = /usr/bin/csi | 10 | CSI = /usr/bin/csi |
@@ -14,8 +15,8 @@ CSC_OPTIONS = \ | |||
14 | -emit-all-import-libraries \ | 15 | -emit-all-import-libraries \ |
15 | -dynamic \ | 16 | -dynamic \ |
16 | -regenerate-import-libraries \ | 17 | -regenerate-import-libraries \ |
17 | -I $(PWD) \ | 18 | -I $(SRC) \ |
18 | -C -I$(PWD) | 19 | -C -I$(SRC) |
19 | 20 | ||
20 | CSC_OPTIONS_EXTRA = \ | 21 | CSC_OPTIONS_EXTRA = \ |
21 | -X utf8 \ | 22 | -X utf8 \ |
@@ -37,7 +38,7 @@ build: $(LIBS_) | |||
37 | 38 | ||
38 | test: build | 39 | test: build |
39 | cd $(BUILD) && \ | 40 | cd $(BUILD) && \ |
40 | $(CSI) -setup-mode -s tests/run.scm $(NAME) | 41 | $(CSI) -setup-mode -s $(TESTS)/run.scm $(NAME) |
41 | 42 | ||
42 | clean: | 43 | clean: |
43 | -rm -rf $(BUILD) | 44 | -rm -rf $(BUILD) |