CFLAGS = -Wall

all: makeshell 

tobin.rib: data scene
	cpp scene > tobin.rib

data: makeshell
	makeshell > foo

makeshell: makeshell.o

makeshell: makeshell.o
	gcc $(CFLAGS) -lm makeshell.o -o makeshell

makeshell.o: makeshell.c
	g++ $(CFLAGS) -c makeshell.c -o makeshell.o
