aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 74d2c10d46f67b77094aa19c9493faa36289a665 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
all: prospero

prospero: src/main.c deps/ejit/libejit.a
	$(CC) -Wall -Wextra -O2 -g -flto=auto -g -Ideps/ejit/include src/main.c deps/ejit/libejit.a -o prospero -lm

deps/ejit/libejit.a:
	$(MAKE) RELEASE=1 LTO=1 -C deps/ejit

.PHONY: clean
clean:
	$(MAKE) -C deps/ejit clean
	$(RM) prospero