update readme and makefile

This commit is contained in:
Solomon W. 2020-05-15 17:26:32 -04:00
parent 8311b7f37d
commit 0ce43c17c7
2 changed files with 12 additions and 2 deletions

View File

@ -1,6 +1,7 @@
CC = clang
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
DBG = -Wall
CC := clang $(DBG) -c
CC += $(DBG)
all: build ;

View File

@ -1,3 +1,12 @@
# 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.
# 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`