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
Raw Normal View History

2016-05-26 20:38:34 +02:00
package=perfect-os-junk
version=0.0.1
2016-05-26 21:53:50 +02:00
CFLAGS="-O2 -Wall -Wextra -Wshadow -ansi -pedantic -std=c99"
2016-05-26 20:38:34 +02:00
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
2016-05-28 05:20:03 +02:00
depends[${i%.c}]="libposj.a"
ldflags[${i%.c}]="libposj.a"
2016-05-26 20:38:34 +02:00
done
2016-05-28 19:34:23 +02:00
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"