projects
/
libc-test
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
api: use SS and PS options properly in sched.c
[libc-test]
/
src
/
api
/
Makefile
diff --git
a/src/api/Makefile
b/src/api/Makefile
index
a739442
..
7b7a19a
100644
(file)
--- a/
src/api/Makefile
+++ b/
src/api/Makefile
@@
-1,5
+1,6
@@
CFLAGS+=-std=c99 -pedantic-errors -Wall -Werror -Wno-unused -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700
CFLAGS+=-std=c99 -pedantic-errors -Wall -Werror -Wno-unused -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700
-#CFLAGS+=-DX_PS -DX_TPS -DX_TYM -DX_RPP_TPP -DX_FMTMSG -DX_NDBM
+CFLAGS+=-DX_PS -DX_TPS -DX_SS
+#CFLAGS+=-DX_RPP_TPP -DX_TYM -DX_FMTMSG -DX_NDBM
LDFLAGS+=-lcrypt -ldl -lm -lpthread -lrt
SRC=$(sort $(wildcard *.c))
LDFLAGS+=-lcrypt -ldl -lm -lpthread -lrt
SRC=$(sort $(wildcard *.c))
@@
-15,6
+16,7
@@
run: all.err
all.err: $(ERR)
LC_ALL=C $(CC) $(LDFLAGS) -o main *.o 2>main.err || true
cat $(ERR) |\
all.err: $(ERR)
LC_ALL=C $(CC) $(LDFLAGS) -o main *.o 2>main.err || true
cat $(ERR) |\
+ grep -v 'In function .f.' |\
grep -v 'Each undeclared identifier is reported only once' |\
grep -v 'for each function it appears in' >$@ || true
grep -v 'Each undeclared identifier is reported only once' |\
grep -v 'for each function it appears in' >$@ || true