# 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 = convertx.o convertx1.o winerror.o gwin.o \
    setscreen.o setvirtual.o setcolors.o converty.o \
    converty1.o drawdot.o drawdot1.o border.o clear.o \
    drawline.o drawline1.o gwin1.o\
    getfgcol.o getbgcol.o

# Here are the making rules:
objects: $(OBJ)

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

clean:
	rm -f $(OBJ)

