mirror of
https://github.com/PoetryInCode/simple-rigid-sim.git
synced 2025-06-08 02:23:10 -04:00
Initial Commit
This commit is contained in:
commit
09b005145d
16
.history/Makefile_20200511140830
Normal file
16
.history/Makefile_20200511140830
Normal 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
|
16
.history/Makefile_20200511200301
Normal file
16
.history/Makefile_20200511200301
Normal 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
|
17
.history/Makefile_20200511200400
Normal file
17
.history/Makefile_20200511200400
Normal 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
|
17
.history/Makefile_20200511201938
Normal file
17
.history/Makefile_20200511201938
Normal 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
|
16
.history/Makefile_20200511201953
Normal file
16
.history/Makefile_20200511201953
Normal 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
|
16
.history/Makefile_20200511202032
Normal file
16
.history/Makefile_20200511202032
Normal 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
|
16
.history/Makefile_20200511202051
Normal file
16
.history/Makefile_20200511202051
Normal 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
|
16
.history/Makefile_20200511202102
Normal file
16
.history/Makefile_20200511202102
Normal 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
|
16
.history/Makefile_20200511202110
Normal file
16
.history/Makefile_20200511202110
Normal 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
|
16
.history/Makefile_20200511202111
Normal file
16
.history/Makefile_20200511202111
Normal 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
|
16
.history/Makefile_20200511202113
Normal file
16
.history/Makefile_20200511202113
Normal 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
|
16
.history/Makefile_20200511202207
Normal file
16
.history/Makefile_20200511202207
Normal 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
|
16
.history/Makefile_20200511202225
Normal file
16
.history/Makefile_20200511202225
Normal 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
|
16
.history/Makefile_20200511202244
Normal file
16
.history/Makefile_20200511202244
Normal 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
|
16
.history/Makefile_20200511202254
Normal file
16
.history/Makefile_20200511202254
Normal 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
|
17
.history/Makefile_20200511222404
Normal file
17
.history/Makefile_20200511222404
Normal 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
|
17
.history/Makefile_20200511222408
Normal file
17
.history/Makefile_20200511222408
Normal 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
|
17
.history/Makefile_20200511222417
Normal file
17
.history/Makefile_20200511222417
Normal 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
|
17
.history/Makefile_20200511222546
Normal file
17
.history/Makefile_20200511222546
Normal 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
|
17
.history/Makefile_20200511222552
Normal file
17
.history/Makefile_20200511222552
Normal 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
|
17
.history/Makefile_20200511222632
Normal file
17
.history/Makefile_20200511222632
Normal 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
|
20
.history/Makefile_20200511223118
Normal file
20
.history/Makefile_20200511223118
Normal 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
|
20
.history/Makefile_20200511232417
Normal file
20
.history/Makefile_20200511232417
Normal 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
|
21
.history/Makefile_20200511232942
Normal file
21
.history/Makefile_20200511232942
Normal 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
|
21
.history/Makefile_20200511232949
Normal file
21
.history/Makefile_20200511232949
Normal 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
|
19
.history/Makefile_20200511233258
Normal file
19
.history/Makefile_20200511233258
Normal 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
|
20
.history/Makefile_20200511233332
Normal file
20
.history/Makefile_20200511233332
Normal 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
|
21
.history/Makefile_20200511233403
Normal file
21
.history/Makefile_20200511233403
Normal 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
|
22
.history/Makefile_20200511233423
Normal file
22
.history/Makefile_20200511233423
Normal 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
|
23
.history/Makefile_20200511233451
Normal file
23
.history/Makefile_20200511233451
Normal 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
|
23
.history/Makefile_20200511233512
Normal file
23
.history/Makefile_20200511233512
Normal 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
|
21
.history/Makefile_20200511233531
Normal file
21
.history/Makefile_20200511233531
Normal 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
|
21
.history/Makefile_20200511233537
Normal file
21
.history/Makefile_20200511233537
Normal 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
|
23
.history/Makefile_20200511233619
Normal file
23
.history/Makefile_20200511233619
Normal 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
|
23
.history/Makefile_20200511233631
Normal file
23
.history/Makefile_20200511233631
Normal 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
|
23
.history/Makefile_20200511233633
Normal file
23
.history/Makefile_20200511233633
Normal 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
|
23
.history/Makefile_20200511233703
Normal file
23
.history/Makefile_20200511233703
Normal 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
|
23
.history/Makefile_20200511233707
Normal file
23
.history/Makefile_20200511233707
Normal 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
|
23
.history/Makefile_20200511233714
Normal file
23
.history/Makefile_20200511233714
Normal 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
|
23
.history/Makefile_20200511233726
Normal file
23
.history/Makefile_20200511233726
Normal 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
|
23
.history/Makefile_20200511233826
Normal file
23
.history/Makefile_20200511233826
Normal 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
|
23
.history/Makefile_20200511233926
Normal file
23
.history/Makefile_20200511233926
Normal 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
|
23
.history/Makefile_20200511233935
Normal file
23
.history/Makefile_20200511233935
Normal 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
|
23
.history/Makefile_20200511233946
Normal file
23
.history/Makefile_20200511233946
Normal 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
|
23
.history/Makefile_20200511234024
Normal file
23
.history/Makefile_20200511234024
Normal 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
|
23
.history/Makefile_20200511234030
Normal file
23
.history/Makefile_20200511234030
Normal 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
|
23
.history/Makefile_20200511234130
Normal file
23
.history/Makefile_20200511234130
Normal 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
|
23
.history/Makefile_20200511234218
Normal file
23
.history/Makefile_20200511234218
Normal 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
|
23
.history/Makefile_20200511234223
Normal file
23
.history/Makefile_20200511234223
Normal 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
|
23
.history/Makefile_20200511234429
Normal file
23
.history/Makefile_20200511234429
Normal 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
|
23
.history/Makefile_20200511234457
Normal file
23
.history/Makefile_20200511234457
Normal 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
|
23
.history/Makefile_20200511234505
Normal file
23
.history/Makefile_20200511234505
Normal 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
|
23
.history/Makefile_20200511234522
Normal file
23
.history/Makefile_20200511234522
Normal 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
|
23
.history/Makefile_20200511234615
Normal file
23
.history/Makefile_20200511234615
Normal 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
|
23
.history/Makefile_20200511234621
Normal file
23
.history/Makefile_20200511234621
Normal 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
|
23
.history/Makefile_20200511234639
Normal file
23
.history/Makefile_20200511234639
Normal 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
|
23
.history/Makefile_20200511234646
Normal file
23
.history/Makefile_20200511234646
Normal 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
|
23
.history/Makefile_20200511235501
Normal file
23
.history/Makefile_20200511235501
Normal 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
|
23
.history/Makefile_20200511235522
Normal file
23
.history/Makefile_20200511235522
Normal 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
|
23
.history/Makefile_20200511235543
Normal file
23
.history/Makefile_20200511235543
Normal 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
|
23
.history/Makefile_20200511235607
Normal file
23
.history/Makefile_20200511235607
Normal 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
|
23
.history/Makefile_20200511235632
Normal file
23
.history/Makefile_20200511235632
Normal 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
|
23
.history/Makefile_20200511235725
Normal file
23
.history/Makefile_20200511235725
Normal 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
|
23
.history/Makefile_20200511235727
Normal file
23
.history/Makefile_20200511235727
Normal 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
|
23
.history/Makefile_20200511235737
Normal file
23
.history/Makefile_20200511235737
Normal 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
|
23
.history/Makefile_20200511235920
Normal file
23
.history/Makefile_20200511235920
Normal 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
|
23
.history/Makefile_20200512000709
Normal file
23
.history/Makefile_20200512000709
Normal 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
|
23
.history/Makefile_20200512001624
Normal file
23
.history/Makefile_20200512001624
Normal 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
|
23
.history/Makefile_20200512001633
Normal file
23
.history/Makefile_20200512001633
Normal 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
|
23
.history/Makefile_20200512001749
Normal file
23
.history/Makefile_20200512001749
Normal 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
|
23
.history/Makefile_20200512001840
Normal file
23
.history/Makefile_20200512001840
Normal 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
|
23
.history/Makefile_20200512001924
Normal file
23
.history/Makefile_20200512001924
Normal 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
|
23
.history/Makefile_20200512001959
Normal file
23
.history/Makefile_20200512001959
Normal 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
|
23
.history/Makefile_20200512002002
Normal file
23
.history/Makefile_20200512002002
Normal 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
|
23
.history/Makefile_20200512002353
Normal file
23
.history/Makefile_20200512002353
Normal 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
|
23
.history/Makefile_20200512002453
Normal file
23
.history/Makefile_20200512002453
Normal 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
|
23
.history/Makefile_20200512002502
Normal file
23
.history/Makefile_20200512002502
Normal 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
|
23
.history/Makefile_20200512002516
Normal file
23
.history/Makefile_20200512002516
Normal 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
|
23
.history/Makefile_20200512002533
Normal file
23
.history/Makefile_20200512002533
Normal 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
|
23
.history/Makefile_20200512002632
Normal file
23
.history/Makefile_20200512002632
Normal 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
|
23
.history/Makefile_20200512002654
Normal file
23
.history/Makefile_20200512002654
Normal 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
|
23
.history/Makefile_20200512002708
Normal file
23
.history/Makefile_20200512002708
Normal 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
|
23
.history/Makefile_20200512002742
Normal file
23
.history/Makefile_20200512002742
Normal 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
|
23
.history/Makefile_20200512002756
Normal file
23
.history/Makefile_20200512002756
Normal 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
|
15
.history/Makefile_20200512003649
Normal file
15
.history/Makefile_20200512003649
Normal 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
|
15
.history/Makefile_20200512003657
Normal file
15
.history/Makefile_20200512003657
Normal 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
|
15
.history/Makefile_20200512003732
Normal file
15
.history/Makefile_20200512003732
Normal 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
|
15
.history/Makefile_20200512003757
Normal file
15
.history/Makefile_20200512003757
Normal 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
|
15
.history/Makefile_20200512003818
Normal file
15
.history/Makefile_20200512003818
Normal 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
|
15
.history/Makefile_20200512003822
Normal file
15
.history/Makefile_20200512003822
Normal 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
|
15
.history/Makefile_20200512003829
Normal file
15
.history/Makefile_20200512003829
Normal 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
|
16
.history/Makefile_20200512003842
Normal file
16
.history/Makefile_20200512003842
Normal 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
|
16
.history/Makefile_20200512003911
Normal file
16
.history/Makefile_20200512003911
Normal 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
|
16
.history/Makefile_20200512003927
Normal file
16
.history/Makefile_20200512003927
Normal 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
|
16
.history/Makefile_20200512003938
Normal file
16
.history/Makefile_20200512003938
Normal 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
|
15
.history/Makefile_20200512004016
Normal file
15
.history/Makefile_20200512004016
Normal 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
|
16
.history/Makefile_20200512004205
Normal file
16
.history/Makefile_20200512004205
Normal 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
|
25
.history/Makefile_20200512005117
Normal file
25
.history/Makefile_20200512005117
Normal 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
|
25
.history/Makefile_20200512005124
Normal file
25
.history/Makefile_20200512005124
Normal 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
|
26
.history/Makefile_20200512005227
Normal file
26
.history/Makefile_20200512005227
Normal 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
Loading…
x
Reference in New Issue
Block a user