summary refs log tree commit diff
path: root/lisc/Makefile
blob: b9c3c0b0a03c25a6641554da4e9a1bd5a7c022e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
BIN = lisc
OBJ = main.o util.o parse.o mem.o ssa.o copy.o live.o isel.o spill.o rega.o emit.o

CFLAGS = -Wall -Wextra -std=c99 -g -pedantic

$(BIN): $(OBJ)
	$(CC) $(LDFLAGS) $(OBJ) -o $@

$(OBJ): lisc.h

.PHONY: clean test syndoc
clean:
	rm -f $(BIN) $(OBJ)
test: $(BIN)
	test/go.sh all
syndoc:
	unison -auto doc ssh://qcar@h/data/d/ssa-doc