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

CFLAGS += -g -Wall

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

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

.PHONY: all check clean