Remove aliases and add wizapp as submodule

This commit is contained in:
2024-06-27 23:56:52 +01:00
parent e3c463d2f1
commit 5636fa57fc
13 changed files with 24 additions and 21 deletions

View File

@@ -1,7 +1,10 @@
#!/bin/bash
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 "{} ")"
CC=clang
CFLAGS="-g -Wall -Werror -pedantic -Iinclude $(pkg-config --cflags sdl2)"
CFLAGS="-g -Wall -Werror -pedantic -Iinclude $WAPP_INCLUDE $(pkg-config --cflags sdl2)"
LIBS="$(pkg-config --libs sdl2) -lm"
RAYTRACER_SRC="src/window/*.c \
@@ -17,6 +20,7 @@ RASTERISER_SRC="src/window/*.c \
src/list/*.c \
src/rasteriser/*.c \
src/math/*.c \
$WAPP_SRC \
"
BUILD=build_dir