1 CFLAGS+=-std=c99 -pedantic-errors -Wall -Werror -Wno-unused -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700
2 CFLAGS+=-DX_PS -DX_TPS -DX_SS
3 #CFLAGS+=-DX_RPP_TPP -DX_TYM -DX_FMTMSG -DX_NDBM
4 LDFLAGS+=-lcrypt -ldl -lm -lpthread -lrt
6 SRC=$(sort $(wildcard *.c))
9 -include ../../config.mak
17 LC_ALL=C $(CC) $(LDFLAGS) -o main *.o 2>main.err || true
19 grep -v 'In function .f.' |\
20 grep -v 'Each undeclared identifier is reported only once' |\
21 grep -v 'for each function it appears in' >$@ || true
24 LC_ALL=C $(CC) $(CFLAGS) -c $< 2>$@ || true