CC = gxx

HFILES = Arena.h Things.h Message.h Players.h Keys.h Dice.h Invader.h Deck.h \
	global.h dims.h
OBJS = main.o Arena.o Things.o Message.o Players.o Keys.o Dice.o Invader.o Deck.o

rlgame.exe: $(OBJS) $(HFILES)
	$(CC) -pg -o rlgame.exe $(OBJS)

%.o: %.cpp $(HFILES)
	$(CC) -O2 -W -Wall -pg -c $<