about summary refs log tree commit diff stats
path: root/Makefile
blob: 2e0612e3d1b7650611b2b00c0752a8a92373df58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
NAME = jimmy
CSI = csi -setup-mode -s
TESTS = $(PWD)/tests
TEST_ENV = env BUILD=$(BUILD) TESTS=$(TESTS) TEST_USE_ANSI=0
ARTEFACTS = *.build.sh *.install.sh *.import.scm *.so *.link *.o

.PHONY: build test clean install uninstall
build:
	chicken-install -n
test: build
	$(TEST_ENV) $(CSI) $(TESTS)/run.scm $(NAME)
clean:
	-rm -rf $(ARTEFACTS) $(NAME)
install:
	chicken-install -s
uninstall:
	chicken-uninstall -s $(NAME)