This repository has been archived on 2024-06-18. You can view files and clone it, but cannot push or open issues/pull-requests.
2016-05-26 20:38:34 +02:00
|
|
|
|
|
|
|
package=perfect-os-junk
|
|
|
|
version=0.0.1
|
|
|
|
|
2016-06-10 19:50:11 +02:00
|
|
|
CFLAGS="-O2 -Wall -Wextra -Wshadow -ansi -pedantic -std=c99 -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199309L"
|
2016-05-26 21:53:50 +02:00
|
|
|
|
2016-05-26 20:38:34 +02:00
|
|
|
targets=(libposj)
|
|
|
|
type[libposj]=library
|
|
|
|
sources[libposj]="$(echo lib/*.c)"
|
|
|
|
|
2016-06-10 19:50:11 +02:00
|
|
|
target="pingpong/pingpong"
|
|
|
|
targets+=(${target})
|
|
|
|
sources[${target}]="$(echo pingpong/*.c)"
|
|
|
|
type[${target}]=binary
|
|
|
|
depends[${target}]="libposj.a"
|
|
|
|
ldflags[${target}]="libposj.a -lpthread"
|
2016-05-26 20:38:34 +02:00
|
|
|
|
2016-06-10 19:50:11 +02:00
|
|
|
target="pubsub/pubsub"
|
|
|
|
targets+=(${target})
|
|
|
|
sources[${target}]="$(ls pubsub/*.c | grep -v test-send)"
|
|
|
|
type[${target}]=binary
|
|
|
|
depends[${target}]="libposj.a"
|
|
|
|
ldflags[${target}]="libposj.a -lpthread"
|
|
|
|
|
|
|
|
target="pubsub/pubsub-test-send"
|
|
|
|
targets+=(${target})
|
|
|
|
sources[${target}]="pubsub/pubsub-test-send.c"
|
|
|
|
type[${target}]=binary
|
|
|
|
depends[${target}]="libposj.a"
|
|
|
|
ldflags[${target}]="libposj.a -lpthread"
|
2016-05-28 19:34:23 +02:00
|
|
|
|