// gnu utils
sudo apt install build-essential
// sdl libraries
sudo apt install libsdl2-dev
gcc main.c -o renderer
// show the warning and standard of C
gcc -Wall -std=c99 src/*.c -o renderer -lSDL2
create multiple files using bash command
touch ./myfolder/{readme,utils}.txt
brew install sdl2
mkdir 3drenderer
mkdir 3drenderer/src
- build is for building the out put
- run is for running command
- clean will clean up the executable
build:
gcc -Wall -std=c99 src/*.c -o renderer -lSDL2
run:
./renderer