HEADERS = Stock.h DividendStock.h
OBJS = Stock.o DividendStock.o useassets.o

all: useassets

useassets: $(OBJS)
	g++ -g -Wall -std=c++17 -o $@ $^

.cc.o: $(HEADERS)
	g++ -g -Wall -std=c++17 -c $<

clean: FORCE
	/bin/rm -f *~ *.o useassets

FORCE: