X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fapi%2FMakefile;h=0611406df6a5d9b833b4c70cee4a1063b3e65995;hb=HEAD;hp=50dfdd7d24dd24fb5afe87dd3ff50e0439cc42e2;hpb=522e481aa536f70534dd1a4fa6cf23988bd9ef15;p=libc-test diff --git a/src/api/Makefile b/src/api/Makefile index 50dfdd7..0611406 100644 --- a/src/api/Makefile +++ b/src/api/Makefile @@ -1,12 +1,5 @@ -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 - all: - for i in *.c; do \ - LC_ALL=C $(CC) $(CFLAGS) -c $$i 2>&1; \ - done |grep -v 'Each undeclared identifier is reported only once' |grep -v 'for each function it appears in' - $(CC) $(LDFLAGS) -lcrypt -ldl -lm -lpthread -lrt *.o -o main - -clean: - rm -f main *.o - +%: FORCE + $(MAKE) -C ../.. B=src src/api/$@ +.SUFFIXES: +FORCE: ;