summary refs log tree commit diff
path: root/minic/Makefile
blob: 1999cf01cda361c69fd02aa7e5d9b460997be39b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
BIN = minic

CFLAGS += -g -Wall

$(BIN): yacc minic.y
	./yacc minic.y
	$(CC) $(CFLAGS) -o $@ y.tab.c

all: $(BIN)
clean:
	rm -f yacc minic y.*

.PHONY: all clean