about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/Makefile b/Makefile index 7b5b337..506d366 100644 --- a/Makefile +++ b/Makefile
@@ -1,11 +1,20 @@
1# wikme 1# wikme
2 2
3PREFIX = /usr/bin 3PREFIX = /usr/bin
4CSC = csc -I$(PWD)
4 5
5wikme: wikme.scm wikme-module.scm 6OBJ = wikme.scm.o
6 csc -o $@ wikme.scm
7 7
8.PHONY: install 8wikme: main.scm $(OBJ)
9 $(CSC) -o $@ $(OBJ) -uses wikme main.scm
10
11$(OBJ): wikme.scm wikme-impl.scm
12 $(CSC) -c -J wikme.scm -unit wikme -o $@
13
14.PHONY: install clean
9 15
10install: wikme 16install: wikme
11 install -Dt $(DESTDIR)$(PREFIX)/$@ $< 17 install -Dt $(DESTDIR)$(PREFIX)/$@ $<
18
19clean:
20 rm -f *.import.scm *.so *.o