about summary refs log tree commit diff stats
path: root/Makefile
blob: 506d366074966cc2511c893d7558912dc661d965 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# wikme

PREFIX = /usr/bin
CSC = csc -I$(PWD)

OBJ = wikme.scm.o

wikme: main.scm $(OBJ)
	$(CSC) -o $@ $(OBJ) -uses wikme main.scm

$(OBJ): wikme.scm wikme-impl.scm
	$(CSC) -c -J wikme.scm -unit wikme -o $@

.PHONY: install clean

install: wikme
	install -Dt $(DESTDIR)$(PREFIX)/$@ $<

clean:
	rm -f *.import.scm *.so *.o