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