about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorCase Duckworth2023-04-03 08:57:02 -0500
committerCase Duckworth2023-04-03 08:57:02 -0500
commit42474bb6c851314d804c89b1501b49eed0e6005f (patch)
tree81d7c77b1817ade3ca8c40d17c0b5c3672c319a8 /Makefile
parentReorganize (diff)
downloadwikme-42474bb6c851314d804c89b1501b49eed0e6005f.tar.gz
wikme-42474bb6c851314d804c89b1501b49eed0e6005f.zip
It builds now
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