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

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

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

$(OBJ): lisc.h

.PHONY: clean
clean:
	rm -f $(BIN) $(OBJ)