Blame src/api/Makefile

nsz 3c60f4
CFLAGS+=-std=c99 -pedantic-errors -Wall -Werror -Wno-unused -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700
nsz 3c60f4
#CFLAGS+=-DX_PS -DX_TPS -DX_TYM -DX_RPP_TPP
nsz e19254
nsz e19254
all:
nsz e19254
	for i in *.c; do \
nsz 522e48
		LC_ALL=C $(CC) $(CFLAGS) -c $$i 2>&1; \
nsz 522e48
	done |grep -v 'Each undeclared identifier is reported only once' |grep -v 'for each function it appears in'
nsz e19254
	$(CC) $(LDFLAGS) -lcrypt -ldl -lm -lpthread -lrt *.o -o main
nsz e19254
nsz e19254
clean:
nsz e19254
	rm -f main *.o
nsz e19254