19 lines
342 B
Bash
19 lines
342 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
|
|
|