Reorganise the code

This commit is contained in:
Abdelrahman Said 2024-04-29 21:42:33 +01:00
parent 7164156c35
commit 05e56d67ea
10 changed files with 2 additions and 7 deletions

View File

@ -2,15 +2,10 @@
CC=clang CC=clang
INCLUDE="\ INCLUDE="\
-Ialiases \ $(find src -type d | xargs -I{} echo -n "-I{} ") \
-Icpath/include \
-Idstr/include \
$(find mem/include -type d | xargs -I{} echo -n "-I{} ") \
" "
SRC="\ SRC="\
cpath/src/*.c \ $(find src -type f -name *.c | xargs -I{} echo -n "{} ") \
dstr/src/*.c \
mem/src/*/*.c \
" "
CFLAGS="-O3 -shared -fPIC -Wall -Werror -pedantic" CFLAGS="-O3 -shared -fPIC -Wall -Werror -pedantic"
OUT="libwapp.so" OUT="libwapp.so"