diff options
author | Case Duckworth | 2023-06-08 23:27:32 -0500 |
---|---|---|
committer | Case Duckworth | 2023-06-08 23:27:32 -0500 |
commit | c258fe7f2347f03bf7b0ab02ac1596c65a072c1e (patch) | |
tree | a6b37ee6382a7fd98f4def83d01058f566cd6a53 /makefile | |
parent | Rewrite; rename to chicken-scratch (diff) | |
download | chicken-scratch-c258fe7f2347f03bf7b0ab02ac1596c65a072c1e.tar.gz chicken-scratch-c258fe7f2347f03bf7b0ab02ac1596c65a072c1e.zip |
Add egg and makefile and program
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/makefile b/makefile new file mode 100644 index 0000000..ffa747a --- /dev/null +++ b/makefile | |||
@@ -0,0 +1,22 @@ | |||
1 | # CHICKEN-SCRATCH: here-doc templating for CHICKEN scheme | ||
2 | # (C) Case Duckworth <acdw@acdw.net> | ||
3 | # License: BSD-3. See COPYING for details. | ||
4 | |||
5 | PREFIX = /usr | ||
6 | |||
7 | SOURCES = chicken-scratch.scm chicken-scratch.mod.scm | ||
8 | |||
9 | chicken-scratch: $(SOURCES) | ||
10 | chicken-install -n | ||
11 | |||
12 | .PHONY: install | ||
13 | install: chicken-scratch | ||
14 | install -Dt $(PREFIX)/bin $< | ||
15 | |||
16 | .PHONY: chicken-install | ||
17 | chicken-install: chicken-scratch | ||
18 | chicken-install | ||
19 | |||
20 | .PHONY: clean | ||
21 | clean: | ||
22 | rm -f *.link *.so *.o *.build.sh *.import.scm *.install.sh | ||