Implement shaders #1

Merged
abdelrahman merged 6 commits from shaders into main 2024-08-18 14:28:10 +00:00
17 changed files with 4 additions and 2 deletions
Showing only changes of commit fbf3f17b8f - Show all commits

No files matched your search

+4 -2
View File
@@ -3,9 +3,11 @@
CC=clang
WAPP_INCLUDE="$(find intern/wapp/src -type d | xargs -I{} echo -n "-I{} ")"
WAPP_SRC="$(find intern/wapp/src -type f -name "*.c" | xargs -I{} echo -n "{} ")"
CFLAGS="-g -Isrc $WAPP_INCLUDE"
TINYRENDER_INCLUDE="$(find src -type d | xargs -I{} echo -n "-I{} ")"
TINYRENDER_SRC="$(find src -type f -name "*.c" | xargs -I{} echo -n "{} ")"
CFLAGS="-g $TINYRENDER_INCLUDE $WAPP_INCLUDE"
LIBS="-lm"
SRC="src/*.c $WAPP_SRC"
SRC="$TINYRENDER_SRC $WAPP_SRC"
OUT=tiny
(set -x ; $CC $CFLAGS $LIBS $SRC -o $OUT)
View File
File renamed without changes.
View File
File renamed without changes.
File renamed without changes.
File renamed without changes.
View File
File renamed without changes.
View File
File renamed without changes.
View File
File renamed without changes.
View File
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View File
File renamed without changes.
View File
File renamed without changes.
View File
File renamed without changes.
View File
File renamed without changes.