#makefile

compile    : main.exe

main.exe           : main.o furniture.o order.o client.o
main.o             : main.cpp furniture.h order.h client.h 
furniture.o        : furniture.cpp furniture.h order.h
order.o            : order.cpp order.h furniture.h client.h
client.o           : client.cpp client.h order.h furniture.h

#-------------------------------------------------------------
run: compile
	./main.exe
clean:
	rm -f *.o
	rm -f *.exe
build: clean compile
%.exe: %.o
	g++ -o $@ $^
%.o: %.cpp
	g++ -c $<
