diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/makefile b/makefile index ffa747a..7587a65 100644 --- a/makefile +++ b/makefile | |||
@@ -9,9 +9,12 @@ SOURCES = chicken-scratch.scm chicken-scratch.mod.scm | |||
9 | chicken-scratch: $(SOURCES) | 9 | chicken-scratch: $(SOURCES) |
10 | chicken-install -n | 10 | chicken-install -n |
11 | 11 | ||
12 | scratchdown: scratchdown.scm chicken-scratch | ||
13 | csc $< | ||
14 | |||
12 | .PHONY: install | 15 | .PHONY: install |
13 | install: chicken-scratch | 16 | install: chicken-scratch scratchdown |
14 | install -Dt $(PREFIX)/bin $< | 17 | install -Dt $(PREFIX)/bin $^ |
15 | 18 | ||
16 | .PHONY: chicken-install | 19 | .PHONY: chicken-install |
17 | chicken-install: chicken-scratch | 20 | chicken-install: chicken-scratch |
@@ -20,3 +23,4 @@ chicken-install: chicken-scratch | |||
20 | .PHONY: clean | 23 | .PHONY: clean |
21 | clean: | 24 | clean: |
22 | rm -f *.link *.so *.o *.build.sh *.import.scm *.install.sh | 25 | rm -f *.link *.so *.o *.build.sh *.import.scm *.install.sh |
26 | rm -f chicken-scratch scratchdown | ||