Initial Commit

This commit is contained in:
Solomon W. 2020-05-13 15:54:11 -04:00
commit 09b005145d
506 changed files with 31836 additions and 0 deletions

View File

@ -0,0 +1,16 @@
CC = clang
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
all: build ;
targets = ./src/*.cpp
build: $(targets) ;
$(CC) $(DBG) ./src/main.cpp -o ./bin/main.o $(LINK)
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,16 @@
CC = clang
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
all: build ;
targets = ./src/*.cpp
build: $(targets) ;
$(CC) $(DBG) ./src/main.cpp -o ./bin/main.o $(LINK)
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,17 @@
CC = clang
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
all: build ;
targets = ./src/*.cpp
targets += ./src/*.h
build: $(targets) ;
$(CC) $(DBG) ./src/main.cpp -o ./bin/main.o $(LINK)
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,17 @@
CC = clang
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
all: build ;
targets = ./src/*.cpp
targets += ./src/*.h
build: $(targets) ;
$(CC) $(DBG) ./src/main.cpp -o ./bin/main.o $(LINK)
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,16 @@
CC = clang
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
all: build ;
targets = ./src/*.cpp ./src/*.h
build: $(targets) ;
$(CC) $(DBG) ./src/main.cpp -o ./bin/main.o $(LINK)
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,16 @@
CC = clang
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
all: build ;
targets = ./src/*.cpp ./src/*.h
build: $(targets) ;
$(CC) $(DBG) $(targets) -o ./bin/main.o $(LINK)
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,16 @@
CC = clang
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
all: build ;
targets = ./src/*.cpp ./src/*.h
build: $(targets) ;
$(CC) $(DBG) $(targets) -o ./bin/ $(LINK)
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,16 @@
CC = clang
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
all: build ;
targets = ./src/*.cpp ./src/*.h
build: $(targets) ;
$(CC) $(DBG) $(targets) -o $(LINK)
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,16 @@
CC = clang
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
all: build ;
targets = ./src/*.cpp ./src/*.h
build: $(targets) ;
$(CC) $(DBG) $(targets)$(LINK)
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,16 @@
CC = clang
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
all: build ;
targets = ./src/*.cpp ./src/*.h
build: $(targets) ;
$(CC) $(DBG) $(targets)$(LINK)
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,16 @@
CC = clang
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
all: build ;
targets = ./src/*.cpp ./src/*.h
build: $(targets) ;
$(CC) $(DBG) $(targets) $(LINK)
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,16 @@
CC = clang
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
all: build ;
targets = ./src/*.cpp ./src/*.h
build: $(targets) ;
$(CC) $(DBG) ./src/main.cpp $(LINK)
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,16 @@
CC = clang
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
all: build ;
targets = ./src/*.cpp ./src/*.h
build: $(targets) ;
$(CC) $(DBG) ./src/main.cpp -o ./src/main.o $(LINK)
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,16 @@
CC = clang
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
all: build ;
targets = ./src/*.cpp ./src/*.h
build: $(targets) ;
$(CC) $(DBG) ./src/main.cpp -o ./bin/main.o $(LINK)
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,16 @@
CC = clang
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
all: build ;
targets = ./src/*.cpp ./src/*.h
build: $(targets) ;
$(CC) $(DBG) ./src/main.cpp -o ./bin/main.o $(LINK)
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,17 @@
CC = clang
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
all: build ;
targets = ./src/*.cpp ./src/*.h
build: $(targets) ;
$(CC) $(DBG) ./src/main.cpp -o ./bin/main.o $(LINK)
.PHONY
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,17 @@
CC = clang
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
all: build ;
targets = ./src/*.cpp ./src/*.h
build: $(targets) ;
$(CC) $(DBG) ./src/main.cpp -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,17 @@
CC = clang
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
all: build ;
targets = ./src/*.cpp ./src/*.h
build: $(targets) ;
$(CC) $(DBG) ./src/main.cpp -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,17 @@
CC = clang
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
all: build ;
targets = ./src/*.cpp ./src/*.h
build: $(targets) ;
$(CC) $(DBG) ./src/main.cpp -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,17 @@
CC = clang
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
all: build ;
targets = ./src/*.cpp ./src/*.h
build: $(targets) ;
$(CC) $(DBG) ./src/main.cpp -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,17 @@
CC = clang
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
all: build ;
targets = ./src/*.cpp ./src/*.h
build: $(targets) ;
$(CC) $(DBG) ./src/main.cpp -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,20 @@
CC = clang
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
all: build ;
Color.o: Color.* ;
main.o:
build: $(targets) ;
$(CC) $(DBG) ./src/main.cpp -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,20 @@
CC = clang
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
all: build ;
Color.o: Color.c Color.h ;
main.o:
build: $(targets) ;
$(CC) $(DBG) ./src/main.cpp -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,21 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
all: build ;
Color.o: Color.c Color.h ;
main.o:
build: $(targets) ;
$(CC) $(DBG) ./src/main.cpp -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,21 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
all: build ;
Color.o: Color.c Color.h ;
main.o:
build: $(targets) ;
$(CC) ./src/main.cpp -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,19 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
all: build ;
Color.o: Color.h
main.o:
build: $(targets) ;
$(CC) ./src/main.cpp -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,20 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
all: build ;
Color.o: Color.h
Cube.o: Cube.h
main.o:
build: $(targets) ;
$(CC) ./src/main.cpp -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,21 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
all: build ;
Color.o: Color.h
Cube.o: Cube.h
main.o: Quad.h
main.o:
build: $(targets) ;
$(CC) ./src/main.cpp -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,22 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
all: build ;
Color.o: Color.h
Cube.o: Cube.h
main.o: Quad.h
Quad.o: Color.h Vertex.h
main.o:
build: $(targets) ;
$(CC) ./src/main.cpp -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
all: build ;
Color.o: Color.h
Cube.o: Cube.h
main.o: Quad.h
Quad.o: Color.h Vertex.h
Vertex.o: Vertex.h
main.o:
build: $(targets) ;
$(CC) ./src/main.cpp -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
all: build ;
Color.o: Color.h
Cube.o: Cube.h
main.o: Quad.h
Quad.o: Color.h Vertex.h
Vertex.o: Vertex.h
main.o:
build: $(targets) ;
$(CC) ./src/main.cpp -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,21 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
all: build ;
Color.o: Color.h
Cube.o: Cube.h
main.o: Quad.h
Quad.o: Color.h Vertex.h
Vertex.o: Vertex.h
build: $(targets) ;
$(CC) ./src/main.cpp -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,21 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
all: build ;
Color.o: Color.h
Cube.o: Cube.h
main.o: Quad.h
Quad.o: Color.h Vertex.h
Vertex.o: Vertex.h
build:
$(CC) ./src/main.cpp -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: Color.h
Cube.o: Cube.h
main.o: Quad.h
Quad.o: Color.h Vertex.h
Vertex.o: Vertex.h
build:
$(CC) ./src/main.cpp -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: Color.h
Cube.o: Cube.h
main.o: Quad.h
Quad.o: Color.h Vertex.h
Vertex.o: Vertex.h
build: $(targets)
$(CC) ./src/main.cpp -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: Color.h
Cube.o: Cube.h
main.o: Quad.h
Quad.o: Color.h Vertex.h
Vertex.o: Vertex.h
build: $(targets) ;
$(CC) ./src/main.cpp -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: Color.h
Cube.o: Cube.h
main.o: Quad.h
Quad.o: Color.h Vertex.h
Vertex.o: Vertex.h
build: $(targets) ;
$(CC) -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main.o

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: Color.h
Cube.o: Cube.h
main.o: Quad.h
Quad.o: Color.h Vertex.h
Vertex.o: Vertex.h
build: $(targets) ;
$(CC) -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: Color.h
Cube.o: Cube.h
main.o: Quad.h
Quad.o: Color.h Vertex.h
Vertex.o: Vertex.h
build: $(targets) ;
$(CC) -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: Color.h
Cube.o: Cube.h
main.o: Quad.h
Quad.o: Color.h Vertex.h
Vertex.o: Vertex.h
build: $(targets) ;
$(CC) -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: ./src/Color.h
Cube.o: ./src/Cube.h
main.o: ./src/Quad.h
Quad.o: ./src/Color.h ./src/Vertex.h
Vertex.o: ./src/Vertex.h
build: $(targets) ;
$(CC) -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: ./src/Color.h
Cube.o: ./src/Cube.h
main.o: ./src/Quad.h ./src/main.cpp
Quad.o: ./src/Color.h ./src/Vertex.h
Vertex.o: ./src/Vertex.h
build: $(targets) ;
$(CC) -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: ./src/Color.h
Cube.o: ./src/Cube.h
main.o: ./src/Quad.h
Quad.o: ./src/Color.h ./src/Vertex.h
Vertex.o: ./src/Vertex.h
build: $(targets) ;
$(CC) -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: ./src/Color.h
Cube.o: ./src/Cube.h
main.o: ./src/Quad.h
Quad.o: ./src/Color.h ./src/Vertex.h
Vertex.o: ./src/Vertex.h
build: $(targets) ;
$(CC) ./src/main.cpp -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: ./src/Color.h
Cube.o: ./src/Cube.h
main.o: ./src/Quad.h
Quad.o: ./src/Color.h ./src/Vertex.h
Vertex.o: ./src/Vertex.h
build: $(targets) ;
$(CC) -c ./src/main.cpp -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: ./src/Color.h
Cube.o: ./src/Cube.h
main.o: ./src/Quad.h
Quad.o: ./src/Color.h ./src/Vertex.h
Vertex.o: ./src/Vertex.h
build: $(targets) ;
$(CC) -c ./src/main.cpp -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := cc $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: ./src/Color.h
Cube.o: ./src/Cube.h
main.o: ./src/Quad.h
Quad.o: ./src/Color.h ./src/Vertex.h
Vertex.o: ./src/Vertex.h
build: $(targets) ;
$(CC) -c ./src/main.cpp -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: ./src/Color.h
Cube.o: ./src/Cube.h
main.o: ./src/Quad.h
Quad.o: ./src/Color.h ./src/Vertex.h
Vertex.o: ./src/Vertex.h
build: $(targets) ;
$(CC) -c ./src/main.cpp -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: ./src/Color.h
Cube.o: ./src/Cube.h
main.o: ./src/Quad.h
Quad.o: ./src/Color.h ./src/Vertex.h
Vertex.o: ./src/Vertex.h
build: $(targets) ;
$(CC) ./src/main.cpp -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
./bin/Color.o: ./src/Color.h
./bin/Cube.o: ./src/Cube.h
./bin/main.o: ./src/Quad.h
./bin/Quad.o: ./src/Color.h ./src/Vertex.h
./bin/Vertex.o: ./src/Vertex.h
build: $(targets) ;
$(CC) ./src/main.cpp -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = bin/Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
bin/Color.o: ./src/Color.h
bin/Cube.o: ./src/Cube.h
bin/main.o: ./src/Quad.h
bin/Quad.o: ./src/Color.h ./src/Vertex.h
bin/Vertex.o: ./src/Vertex.h
build: $(targets) ;
$(CC) src/main.cpp -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = bin/Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
bin/Color.o: src/Color.h
bin/Cube.o: src/Cube.h
bin/main.o: src/Quad.h
bin/Quad.o: src/Color.h ./src/Vertex.h
bin/Vertex.o: src/Vertex.h
build: $(targets) ;
$(CC) src/main.cpp -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = bin/Color.o bin/Cube.o bin/main.o bin/Quad.o bin/Vertex.o
all: build ;
bin/Color.o: src/Color.h
bin/Cube.o: src/Cube.h
bin/main.o: src/Quad.h
bin/Quad.o: src/Color.h ./src/Vertex.h
bin/Vertex.o: src/Vertex.h
build: $(targets) ;
$(CC) src/main.cpp -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = bin/Color.o bin/Cube.o bin/main.o bin/Quad.o bin/Vertex.o
all: build ;
bin/Color.o: src/Color.h
bin/Cube.o: src/Cube.h
bin/main.o: src/Quad.h
bin/Quad.o: src/Color.h ./src/Vertex.h
bin/Vertex.o: src/Vertex.h
build: $(targets) ;
$(CC) -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = bin/Color.o bin/Cube.o bin/main.o bin/Quad.o bin/Vertex.o
all: build ;
bin/Color.o: src/Color.h
bin/Cube.o: src/Cube.h
bin/main.o: src/Quad.h
bin/Quad.o: src/Color.h ./src/Vertex.h
bin/Vertex.o: src/Vertex.h
build: $(targets) ;
$(CC) -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = bin/Color.o bin/Cube.o bin/main.o bin/Quad.o bin/Vertex.o
all: build ;
bin/Color.o: src/Color.h
bin/Cube.o: src/Cube.h
bin/main.o: src/main.cpp src/Quad.h
bin/Quad.o: src/Color.h ./src/Vertex.h
bin/Vertex.o: src/Vertex.h
build: $(targets) ;
$(CC) -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = bin/Color.o bin/Cube.o bin/main.o bin/Quad.o bin/Vertex.o
all: build ;
bin/Color.o: src/Color.h
bin/Cube.o: src/Cube.h
bin/main.o: src/Quad.h
bin/Quad.o: src/Color.h ./src/Vertex.h
bin/Vertex.o: src/Vertex.h
build: $(targets) ;
$(CC) -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = bin/Color.o bin/Cube.o bin/main.o bin/Quad.o bin/Vertex.o
all: build ;
Color.o: src/Color.h Color.o
Cube.o: src/Cube.h Cube.o
main.o: src/Quad.h main.o
Quad.o: src/Color.h ./src/Vertex.h Quad.o
Vertex.o: src/Vertex.h Vertex.o
build: $(targets) ;
$(CC) -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: src/Color.h Color.o
Cube.o: src/Cube.h Cube.o
main.o: src/Quad.h main.o
Quad.o: src/Color.h ./src/Vertex.h Quad.o
Vertex.o: src/Vertex.h Vertex.o
build: $(targets) ;
$(CC) -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: src/Color.h Color.o
Cube.o: src/Cube.h Cube.o
main.o: src/Quad.h main.o
Quad.o: src/Color.h ./src/Vertex.h Quad.o
Vertex.o: src/Vertex.h ./bin/Vertex.o
build: $(targets) ;
$(CC) -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: src/Color.h
Cube.o: src/Cube.h
main.o: src/Quad.h
Quad.o: src/Color.h
Vertex.o: src/Vertex.h
build: $(targets) ;
$(CC) -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: src/Color.h
Cube.o: src/Cube.h
main.o: src/Quad.h
Quad.o: src/Color.h
Vertex.o: src/Vertex.h
build: $(targets) ;
$(CC) -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: src/Color.h
Cube.o: src/Cube.h
main.o: src/Quad.h
Quad.o: src/Color.h
Vertex.o: src/Vertex.h
build: $(targets) ;
$(CC) -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: src/Color.h
Cube.o: src/Cube.h
main.o: src/Quad.h
Quad.o: src/Color.h
Vertex.o: src/Vertex.h
build: $(targets) ;
$(CC) -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: src/Color.h
Cube.o: src/Cube.h
main.o: src/Quad.h
Quad.o: src/Color.h
Vertex.o: src/Vertex.h
build: $(targets) ;
$(CC) ./src/main.cpp -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: src/Color.h
Cube.o: src/Cube.h
main.o: src/Quad.h src/Color.h
Quad.o: src/Color.h
Vertex.o: src/Vertex.h
build: $(targets) ;
$(CC) ./src/main.cpp -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU -I./src/
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: src/Color.h
Cube.o: src/Cube.h
main.o: src/Quad.h src/Color.h
Quad.o: src/Color.h
Vertex.o: src/Vertex.h
build: $(targets) ;
$(CC) ./src/main.cpp -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU -I./src/
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: src/Color.h
Cube.o: src/Cube.h
main.o: src/Quad.h src/Color.h
Quad.o: src/Color.h
Vertex.o: src/Vertex.h
build: $(targets) ;
$(CC) -c ./src/main.cpp -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU -I./src/
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: src/Color.h
Cube.o: src/Cube.h
main.o: src/Quad.h src/Color.h
Quad.o: src/Color.h
Vertex.o: src/Vertex.h
build: $(targets) ;
$(CC) -c ./src/main.cpp $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU -I./src/
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: src/Color.h
Cube.o: src/Cube.h
main.o: src/Quad.h src/Color.h
Quad.o: src/Color.h
Vertex.o: src/Vertex.h
build: $(targets) ;
$(CC) -c ./src/main.cpp -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU -I./src/
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: src/Color.h
Cube.o: src/Cube.h
main.o: src/Quad.h src/Color.h
Quad.o: src/Color.h
Vertex.o: src/Vertex.h
build: $(targets) ;
$(CC) -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU -I./src/
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: src/Color.h
Cube.o: src/Cube.h
main.o: src/Quad.h src/Color.h
Quad.o: src/Color.h
Vertex.o: src/Vertex.h
build: $(targets) ;
$(CC) -o ./bin/main $(targets) $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU -I./src/
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: src/Color.h
Cube.o: src/Cube.h
main.o: src/Quad.h src/Color.h
Quad.o: src/Color.h
Vertex.o: src/Vertex.h
build: $(targets) ;
$(CC) -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU -I./src/
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: src/Color.h
Cube.o: src/Cube.h
main.o: src/Quad.h src/Color.h
Quad.o: src/Color.h
Vertex.o: src/Vertex.h
build: $(targets) ;
$(CC) -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU -I./src/
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: src/Color.h src/Color.cpp
Cube.o: src/Cube.h src/Cube.cpp
main.o: src/Quad.h src/Color.h src/main.cpp
Quad.o: src/Color.h src/Quad.cpp
Vertex.o: src/Vertex.h Vertex.cpp
build: $(targets) ;
$(CC) -o ./bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU -I./src/
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: src/Color.h src/Color.cpp
Cube.o: src/Cube.h src/Cube.cpp
main.o: src/Quad.h src/Color.h src/main.cpp
Quad.o: src/Color.h src/Quad.cpp
Vertex.o: src/Vertex.h Vertex.cpp
build: $(targets) ;
$(CC) -c -o ./bin/main $(targets) $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU -I./src/
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: src/Color.h src/Color.cpp
Cube.o: src/Cube.h src/Cube.cpp
main.o: src/Quad.h src/Color.h src/main.cpp
Quad.o: src/Color.h src/Quad.cpp
Vertex.o: src/Vertex.h Vertex.cpp
build: $(targets) ;
$(CC) -c -o ./bin/main $(targets) $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU -I./src/
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: src/Color.h src/Color.cpp
Cube.o: src/Cube.h src/Cube.cpp
main.o: src/Quad.h src/Color.h src/main.cpp
Quad.o: src/Color.h src/Quad.cpp
Vertex.o: src/Vertex.h Vertex.cpp
build: $(targets) ;
$(CC) -c -o ./bin/main $(targets) $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU -I./src/
DBG = -Wall
CC := clang $(DBG)
targets = Color.o Cube.o main.o Quad.o Vertex.o
all: build ;
Color.o: src/Color.h src/Color.cpp
Cube.o: src/Cube.h src/Cube.cpp
main.o: src/Quad.h src/Color.h src/main.cpp
Quad.o: src/Color.h src/Quad.cpp
Vertex.o: src/Vertex.h src/Vertex.cpp
build: $(targets) ;
$(CC) -c -o ./bin/main $(targets) $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU -I./src/
DBG = -Wall
CC := clang $(DBG)
targets = Color.cpp Cube.cpp main.cpp Quad.cpp Vertex.cpp
all: build ;
Color.cpp: src/Color.h src/Color.cpp
Cube.cpp: src/Cube.h src/Cube.cpp
main.cpp: src/Quad.h src/Color.h src/main.cpp
Quad.cpp: src/Color.h src/Quad.cpp
Vertex.cpp: src/Vertex.h src/Vertex.cpp
build: $(targets) ;
$(CC) -c -o ./bin/main $(targets) $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU -I./src/
DBG = -Wall
CC := clang $(DBG)
targets = src/Color.cpp src/Cube.cpp src/main.cpp src/Quad.cpp src/Vertex.cpp
all: build ;
Color.cpp: src/Color.h src/Color.cpp
Cube.cpp: src/Cube.h src/Cube.cpp
main.cpp: src/Quad.h src/Color.h src/main.cpp
Quad.cpp: src/Color.h src/Quad.cpp
Vertex.cpp: src/Vertex.h src/Vertex.cpp
build: $(targets) ;
$(CC) -c -o ./bin/main $(targets) $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = src/Color.cpp src/Cube.cpp src/main.cpp src/Quad.cpp src/Vertex.cpp
all: build ;
Color.cpp: src/Color.h src/Color.cpp
Cube.cpp: src/Cube.h src/Cube.cpp
main.cpp: src/Quad.h src/Color.h src/main.cpp
Quad.cpp: src/Color.h src/Quad.cpp
Vertex.cpp: src/Vertex.h src/Vertex.cpp
build: $(targets) ;
$(CC) -c -o ./bin/main $(targets) $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = src/Color.cpp src/Cube.cpp src/main.cpp src/Quad.cpp src/Vertex.cpp
all: build ;
Color.cpp: src/Color.h src/Color.cpp
Cube.cpp: src/Cube.h src/Cube.cpp
main.cpp: src/Quad.h src/Color.h src/main.cpp
Quad.cpp: src/Color.h src/Quad.cpp
Vertex.cpp: src/Vertex.h src/Vertex.cpp
build: $(targets) ;
$(CC) $(targets) -c -o ./bin/main $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,23 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
targets = src/Color.cpp src/Cube.cpp src/main.cpp src/Quad.cpp src/Vertex.cpp
all: build ;
Color.cpp: src/Color.h src/Color.cpp
Cube.cpp: src/Cube.h src/Cube.cpp
main.cpp: src/Quad.h src/Color.h src/main.cpp
Quad.cpp: src/Color.h src/Quad.cpp
Vertex.cpp: src/Vertex.h src/Vertex.cpp
build: $(targets) ;
$(CC) $(targets) -c $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,15 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
all: build ;
build: $(targets) ;
$(CC) src/main.cpp -o bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,15 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
all: build ;
build: $(targets) ;
$(CC) -c src/main.cpp -o bin/main.o $(LINK)
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,15 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
all: build ;
build: $(targets) ;
$(CC) -c src/main.* -o bin/main.o
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,15 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
all: build ;
build: $(targets) ;
$(CC) -c src/main.*
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,15 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
all: build ;
build: $(targets) ;
$(CC) -c src/*.cpp
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,15 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
all: build ;
build: $(targets) ;
$(CC) -c src/*.cpp -o bin/
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,15 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
all: build ;
build: $(targets) ;
$(CC) -c src/*.cpp
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,16 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
all: build ;
build: $(targets) ;
cd bin/
$(CC) -c ../src/*.cpp
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,16 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
all: build ;
build: $(targets) ;
cd bin/
$(CC) -c ../src/*
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,16 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
all: build ;
build: $(targets) ;
cd bin/
$(CC) -c src/*
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,16 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
all: build ;
build: $(targets) ;
cd bin/
$(CC) -c src/*.cpp
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,15 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
all: build ;
build: $(targets) ;
$(CC) -c src/*.cpp
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,16 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
all: build ;
build: $(targets) ;
@cd src/
$(CC) -c src/*.cpp
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,25 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
all: build ;
goals = bin/main.o bin/Cube.o bin/Color.o bin/Quad.o bin/Vertex.o
bin/main.o: src/main.cpp
bin/Cube.o: src/Cube.cpp
bin/Color.o: src/Color.cpp
bin/Quad.o: src/Quad.cpp
bin/Vertex.o: src/Vertex.cpp
bin/simulator:
build: $(targets) ;
@cd src/
$(CC) -c src/*.cpp
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,25 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
all: build ;
goals = bin/main.o bin/Cube.o bin/Color.o bin/Quad.o bin/Vertex.o
bin/main.o: src/main.cpp
bin/Cube.o: src/Cube.cpp
bin/Color.o: src/Color.cpp
bin/Quad.o: src/Quad.cpp
bin/Vertex.o: src/Vertex.cpp
bin/simulator: $(goals)
build: $(targets) ;
@cd src/
$(CC) -c src/*.cpp
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

View File

@ -0,0 +1,26 @@
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG)
all: build ;
goals = bin/main.o bin/Cube.o bin/Color.o bin/Quad.o bin/Vertex.o
bin/main.o: src/main.cpp
bin/Cube.o: src/Cube.cpp
bin/Color.o: src/Color.cpp
bin/Quad.o: src/Quad.cpp
bin/Vertex.o: src/Vertex.cpp
bin/simulator: $(goals) ;
$(CC) $^ -o $@
build: $(targets) ;
@cd src/
$(CC) -c src/*.cpp
.PHONY: clean
clean: main.o ;
rm -rf ./bin/*
run: build ;
./bin/main

Some files were not shown because too many files have changed in this diff Show More