Remove aliases and add wizapp as submodule
This commit is contained in:
6
compile
6
compile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user