CFLAGS = -O
FILES = cmd.c binfiles.c debug.c ed.c files.c g_graphics.c \
	g_putxy.c main.c mem.c plot.c \
	print.c protection.c soft.c tfile.c
OBJECTS = binfiles.o cmd.o debug.o ed.o files.o g_graphics.o \
	g_putxy.o main.o mem.o plot.o \
	print.o protection.o soft.o tfile.o
all: draw

transform : transform.c
	$(CC) -O -s -o transform.c
	mv transform $(HOME)/bin

draw : $(OBJECTS)
	cc -i -o draw $(OBJECTS) -lp -lm
$(OBJECTS) : draw.h

list :
	pr -l60 *.h *.c>out
lint :
	lint -u $(FILES)
