diff options
author | Case Duckworth | 2023-04-03 08:57:02 -0500 |
---|---|---|
committer | Case Duckworth | 2023-04-03 08:57:02 -0500 |
commit | 42474bb6c851314d804c89b1501b49eed0e6005f (patch) | |
tree | 81d7c77b1817ade3ca8c40d17c0b5c3672c319a8 /Makefile | |
parent | Reorganize (diff) | |
download | wikme-42474bb6c851314d804c89b1501b49eed0e6005f.tar.gz wikme-42474bb6c851314d804c89b1501b49eed0e6005f.zip |
It builds now
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
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 | ||
3 | PREFIX = /usr/bin | 3 | PREFIX = /usr/bin |
4 | CSC = csc -I$(PWD) | ||
4 | 5 | ||
5 | wikme: wikme.scm wikme-module.scm | 6 | OBJ = wikme.scm.o |
6 | csc -o $@ wikme.scm | ||
7 | 7 | ||
8 | .PHONY: install | 8 | wikme: 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 | ||
10 | install: wikme | 16 | install: wikme |
11 | install -Dt $(DESTDIR)$(PREFIX)/$@ $< | 17 | install -Dt $(DESTDIR)$(PREFIX)/$@ $< |
18 | |||
19 | clean: | ||
20 | rm -f *.import.scm *.so *.o | ||