Update build script

This commit is contained in:
Abdelrahman Said 2023-11-03 22:58:27 +00:00
parent ce4be85d14
commit ca55dc2549

10
compile
View File

@ -22,10 +22,10 @@ FG_BR_WHITE="\033[97"
CC=clang
AR=ar
CFLAGS="-Wall -Werror -pedantic -Iinclude "
CFLAGS="-Wall -Werror -pedantic -Iinclude -Iintern/c-cpp-aliases -Iintern/cpath/include "
PCKR_SRC="\
src/path_utils.c \
intern/cpath/src/cpath.c \
src/argparse.c \
src/io.c \
src/darr.c \
@ -34,20 +34,20 @@ PCKR_SRC="\
src/main.c"
PAKRD_SRC="\
src/path_utils.c \
intern/cpath/src/cpath.c \
src/io.c \
src/darr.c \
src/pak.c"
PAKRD_FLAGS="-c -fPIC"
PCKR_TEST_SRC="\
src/path_utils.c \
intern/cpath/src/cpath.c \
src/io.c \
src/pckr_test.c"
PCKR_TEST_OUT="pckr_test"
PAKRD_TEST_SRC="\
src/path_utils.c \
intern/cpath/src/cpath.c \
src/io.c \
src/darr.c \
src/pak.c \