# CC and CFLAGS are the C++ compiler and the compiler flags
# Values are, e.g..: "gcc" or "g++" for the compiler,
# "-g" or "-O" for the flags.
# CFLAGS furthermore must include:
# 	-c   for compilation-only
#	-I.. to make the compiler find the header file gwin.h
CC = gcc
CFLAGS = -c -g -I..

# OBJ is the list of all objects, don't change this.
OBJ = drawchar.o gbittext.o settextpos.o biterror.o settextwin.o \
    settextcol.o putc.o puts.o putstring.o gbittext1.o

# Here are the making rules, we want to make all objects here
objects: $(OBJ)

drawchar.o : drawchar.cc bit.inc
	$(CC) $(CFLAGS) drawchar.cc

.cc.o:
	$(CC) $(CFLAGS) $<

clean:
	rm $(OBJ)
