first commit

This commit is contained in:
Jose Caban
2025-06-07 01:59:34 -04:00
commit 388ac241f0
3558 changed files with 9116289 additions and 0 deletions

41
CS4451/proj5/Makefile Normal file
View File

@@ -0,0 +1,41 @@
CC = g++
#OPT = -Wno-deprecated -O3 -DSHOW_FPS
OPT = -Wno-deprecated -O3 -DSCENELIST
LIBS = -L/usr/X11R6/lib -lglut -lGLU -lGL -lXmu -lXi -lX11 -lm
SRC = main.cpp FileReader.cpp Renderer.cpp Input.cpp Subdivision.cpp
OBJ = main.o FileReader.o Renderer.o Input.o Subdivision.o
INCS = -I/usr/X11R6/include
INC = FileReader.h Renderer.h Input.h Subdivision.h structs.h utils.h cwrappers.h
TARGET = proj5
MISC = Makefile
all: $(TARGET)
$(TARGET) : $(OBJ) $(MISC)
$(CC) $(OPT) -o $(TARGET) $(INCS) $(OBJ) $(LIBS)
%.o : %.cpp $(MISC) $(INC)
$(CC) $(OPT) $(INCS) -c -o $@ $<
clean:
rm -f $(OBJ) $(TARGET)
#all : proj1
#proj1 : proj1.o functions.o image.o ray.o
# $(CC) $(OPT) -o proj1 proj1.o functions.o $(LIBS)
#proj1.o : proj1.c defs.h
# $(CC) $(OPT) -c proj1.c
#functions.o: functions.cpp defs.h functions.h
# $(CC) $(OPT) -c functions.cpp
#image.o: image.cpp defs.h
# $(CC) $(OPT) -c image.cpp
#clean:
# rm *.o proj1