Replace separate aliases and arena implementations with stdlib submodule
This commit is contained in:
18
compile
18
compile
@@ -1,9 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
CC=clang
|
||||
CFLAGS="-g -Wall -Iinclude -Iintern $(pkg-config --cflags sdl2)"
|
||||
CFLAGS="-g -Wall $(pkg-config --cflags sdl2)"
|
||||
LIBS="$(pkg-config --libs sdl2) -lm"
|
||||
SRC=src/*.c
|
||||
INCLUDE="\
|
||||
-Iinclude \
|
||||
-Iintern/wizapp/aliases \
|
||||
-Iintern/wizapp/cpath/include \
|
||||
-Iintern/wizapp/dstr/include \
|
||||
$(find intern/wizapp/mem/include/ -type d | xargs -I{} printf "-I{} ") \
|
||||
"
|
||||
SRC="\
|
||||
intern/wizapp/cpath/src/*.c \
|
||||
intern/wizapp/dstr/src/*.c \
|
||||
intern/wizapp/mem/src/*/*.c \
|
||||
src/*.c \
|
||||
"
|
||||
OUT=main
|
||||
|
||||
(set -x ; $CC $CFLAGS $LIBS $SRC -o $OUT)
|
||||
(set -x ; $CC $CFLAGS $INCLUDE $LIBS $SRC -o $OUT)
|
||||
|
||||
Reference in New Issue
Block a user