.PHONY: all clean distclean

SRCS := $(wildcard *.cc)
OBJS := $(SRCS:.cc=.o)
TARGET := emptybeertest
CC := g++
CFLAGS := -Wall -g

all: $(TARGET)

emptybeertest: emptybeertest.o emptybeer.o

%.o : %.cc
	$(CC) $(CFLAGS) -c $^

clean:
	rm -f $(TARGET) $(OBJS)

distclean:
	rm -f $(TARGET) $(OBJS) *~ #*#

