about summary refs log tree commit diff stats
path: root/makefile
blob: ffa747a90aecc3f938685031a872ccceabd1c73d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# CHICKEN-SCRATCH: here-doc templating for CHICKEN scheme
# (C) Case Duckworth <acdw@acdw.net>
# License: BSD-3.  See COPYING for details.

PREFIX = /usr

SOURCES = chicken-scratch.scm chicken-scratch.mod.scm

chicken-scratch: $(SOURCES)
	chicken-install -n

.PHONY: install
install: chicken-scratch
	install -Dt $(PREFIX)/bin $<

.PHONY: chicken-install
chicken-install: chicken-scratch
	chicken-install

.PHONY: clean
clean:
	rm -f *.link *.so *.o *.build.sh *.import.scm *.install.sh