Making nD vector space visible

INCLUDE = -I/usr/include/
LIBDIR = -L/usr/X11R6/lib
LIBRARIES = -lglut -lGL -lGLU -lm
COMPILERFLAGS = -Wall -g $(LIBRARIES)
CC = gcc

CFLAGS = $(LIBDIR) $(INCLUDE) $(COMPILERFLAGS)
FINALFILE=vSpace

#objects to link to create executable
JOINED_OBJS= \
opengl.o\
files.o\
nDSpace.o\
vSpace.o


default: all

all: opengl.o vSpace.o files.o nDSpace.o vSpaceX

opengl.o: opengl.c
$(CC) -c -Wall opengl.c
nDSpace.o: nDSpace.c
$(CC) -c -Wall nDSpace.c
files.o: files.c
$(CC) -c -Wall files.c
vSpace.o: vSpace.c headers/vSpace.h
$(CC) -c -Wall vSpace.c

vSpaceX: vSpace.o opengl.o files.o nDSpace.o
$(CC) $(CFLAGS) -o $(FINALFILE) $(JOINED_OBJS)
ls -lA $(FINALFILE)

cleanShip:
rm vSpace
rm *~
rm *.o
clean:
rm *~
rm *.o

This is the make file for my program that does vector analysis and conversion of images. I think it is very interesting in how it shows the nature of an image in many dimensions. It has taken some work to make it understandable as nDimensional space, but I think it will be understandable and intuitive. I will put links to a zip of the whole thing when I am done testing for flaws. It has to be compiled from "C" source and needs glut, GLU, GL and math libraries which shouldn't be difficult to obtain for a Linux programmer. I am improving it now so that it is more understandable for a person without my perspective and it will be a part of "antfarmgl" utility system.

1 comments:

Paul Mohr said...

BTW you can't just cut and paste from this as I didn't use <pre> and it eats white space and indents which have meaning to "make".

Contributors

Automated Intelligence

Automated Intelligence
Auftrag der unendlichen LOL katzen