Obsolete
/
libipc-old
Archived
3
0
Fork 0
This repository has been archived on 2024-06-18. You can view files and clone it, but cannot push or open issues/pull-requests.
libipc-old/project.zsh

25 lines
522 B
Bash

package=perfect-os-junk
version=0.0.1
CFLAGS="-O2 -Wall -Wextra -Wshadow -ansi -pedantic -std=c99"
targets=(libposj)
type[libposj]=library
sources[libposj]="$(echo lib/*.c)"
for i in *.c; do
targets+=(${i%.c})
sources[${i%.c}]="$i $(echo lib/*.c)"
type[${i%.c}]=binary
depends[${i%.c}]="libposj.a"
ldflags[${i%.c}]="libposj.a"
done
targets+=(pubsub/pubsubd)
type[pubsub/pubsubd]=binary
sources[pubsub/pubsubd]="pubsub/list.c pubsub/pubsubd.c"
cflags[pubsub/pubsubd]="-I lib"
ldflags[pubsub/pubsubd]="libposj.a"