# 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 = graph.o graph1.o graph2.o getxdim.o getydim.o getcolors.o \
    drawlin.o setcolor.o error.o drawpixel.o setmode.o clearscr.o

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

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

clean:
	rm $(OBJ)
