X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fapi%2FMakefile;h=0611406df6a5d9b833b4c70cee4a1063b3e65995;hb=2113a3ed8217775797dd9a82aa420c10ef1712d5;hp=5df7ccbad94f4e786cd29455a4b5ddf431b5c826;hpb=6e308efe7a1bc0f948f31fcc63ece2c3977ba3d2;p=libc-test diff --git a/src/api/Makefile b/src/api/Makefile index 5df7ccb..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 2>&1 - -clean: - rm -f main *.o - +%: FORCE + $(MAKE) -C ../.. B=src src/api/$@ +.SUFFIXES: +FORCE: ;