Add Makefile
This commit is contained in:
parent
81a50c48c2
commit
70fdce0d5b
2 changed files with 23 additions and 2 deletions
19
Makefile
Normal file
19
Makefile
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
CSM := csm
|
||||||
|
PREFIX := /usr/local
|
||||||
|
INSTALL := install
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
|
all: Makefile.csm
|
||||||
|
$(MAKE) -f Makefile.csm
|
||||||
|
|
||||||
|
Makefile.csm:
|
||||||
|
$(CSM) -makefile Makefile.csm
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
|
clean: Makefile.csm
|
||||||
|
$(MAKE) -f Makefile.csm clean
|
||||||
|
rm -f Makefile.csm rain
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
|
install:
|
||||||
|
$(INSTALL) -sDm755 rain $(DESTDIR)$(PREFIX)/bin/rain
|
||||||
|
|
@ -1,13 +1,15 @@
|
||||||
# Dependencies
|
# Dependencies
|
||||||
|
|
||||||
- [https://call-cc.org](CHICKEN Scheme) 5 or 6,
|
- [https://call-cc.org](CHICKEN Scheme) 5 or 6,
|
||||||
- A few CHICKEN extensions, installable using: ```sh
|
- A few CHICKEN extensions, installable using:
|
||||||
|
```sh
|
||||||
chicken-install -s html-parser openssl http-client matchable srfi-18
|
chicken-install -s html-parser openssl http-client matchable srfi-18
|
||||||
```
|
```
|
||||||
|
|
||||||
# Building
|
# Building
|
||||||
|
|
||||||
Compile using `csm` (requires `chicken-install -s csm`), or run `rain.sld` directly.
|
- Compile and install using `make` and `sudo make install`.
|
||||||
|
- Alternatively, run `./rain.sld` directly.
|
||||||
|
|
||||||
# License
|
# License
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue