TEST =  flower

# compiler
CC = gcc
COPT = -O2 -Wall `sdl-config --cflags` $(INCLUDE)

# external libraries
LIBS = `sdl-config --libs` -lGL -lGLU

# our objects for the test program
OBJ = main.o osc.o

# test program compile rules
$(TEST):	$(OBJ)
		$(CC) $(COPT) -o $@ $(OBJ) $(LIBS)

# the library objects

%.o: %.c
	$(CC) $(COPT) -o $@ -c $<

clean:
	rm *~ *.o $(TEST)

