mirror of
https://github.com/PoetryInCode/simple-rigid-sim.git
synced 2025-06-08 02:23:10 -04:00
update readme and makefile
This commit is contained in:
parent
8311b7f37d
commit
0ce43c17c7
3
Makefile
3
Makefile
@ -1,6 +1,7 @@
|
|||||||
|
CC = clang
|
||||||
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
|
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
|
||||||
DBG = -Wall
|
DBG = -Wall
|
||||||
CC := clang $(DBG) -c
|
CC += $(DBG)
|
||||||
|
|
||||||
all: build ;
|
all: build ;
|
||||||
|
|
||||||
|
11
README.md
11
README.md
@ -1,3 +1,12 @@
|
|||||||
# Simple Physics
|
# Simple Physics
|
||||||
This is a largely physics/math based prject that was created for a school project. It is a rendering engine built on OpenGL and
|
This is a largely physics/math based project that was created for a school project. It is a rendering engine built on OpenGL and
|
||||||
SDL that can simulate how rigid bodies interact with each other under gravity.
|
SDL that can simulate how rigid bodies interact with each other under gravity.
|
||||||
|
|
||||||
|
# Building
|
||||||
|
Building this project requires OpenGL and SDL2 to be installed on your computer. A graphics card is recommended, but not necessary.
|
||||||
|
|
||||||
|
By default the [Makefile](./Makefile) is configured to compile with clang. But can be configured to use another compiler by modifying the value at line 1.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
`CC = clang` => `CC = gcc`
|
Loading…
x
Reference in New Issue
Block a user