removed examples from standard C tests, since they contain some POSIX elements
This commit is contained in:
parent
ba75e9d8c3
commit
a86a09ea0d
11
Makefile
11
Makefile
@ -26,12 +26,15 @@ endif
|
|||||||
default: lib zstd
|
default: lib zstd
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
all:
|
all: allmost
|
||||||
|
CPPFLAGS=-I../lib LDFLAGS=-L../lib $(MAKE) -C examples/ $@
|
||||||
|
|
||||||
|
.PHONY: allmost
|
||||||
|
allmost: # without examples
|
||||||
$(MAKE) -C $(ZSTDDIR) $@
|
$(MAKE) -C $(ZSTDDIR) $@
|
||||||
$(MAKE) -C $(PRGDIR) $@ zstd32
|
$(MAKE) -C $(PRGDIR) $@ zstd32
|
||||||
$(MAKE) -C $(TESTDIR) $@ all32
|
$(MAKE) -C $(TESTDIR) $@ all32
|
||||||
$(MAKE) -C $(ZWRAPDIR) $@
|
$(MAKE) -C $(ZWRAPDIR) $@
|
||||||
CPPFLAGS=-I../lib LDFLAGS=-L../lib $(MAKE) -C examples/ $@
|
|
||||||
|
|
||||||
.PHONY: lib
|
.PHONY: lib
|
||||||
lib:
|
lib:
|
||||||
@ -151,13 +154,13 @@ gnu90test: clean
|
|||||||
CFLAGS="-std=gnu90" $(MAKE) all
|
CFLAGS="-std=gnu90" $(MAKE) all
|
||||||
|
|
||||||
c99test: clean
|
c99test: clean
|
||||||
CFLAGS="-std=c99" $(MAKE) all
|
CFLAGS="-std=c99" $(MAKE) allmost
|
||||||
|
|
||||||
gnu99test: clean
|
gnu99test: clean
|
||||||
CFLAGS="-std=gnu99" $(MAKE) all
|
CFLAGS="-std=gnu99" $(MAKE) all
|
||||||
|
|
||||||
c11test: clean
|
c11test: clean
|
||||||
CFLAGS="-std=c11" $(MAKE) all
|
CFLAGS="-std=c11" $(MAKE) allmost
|
||||||
|
|
||||||
bmix64test: clean
|
bmix64test: clean
|
||||||
CFLAGS="-O3 -mbmi -Werror" $(MAKE) -C $(TESTDIR) test
|
CFLAGS="-O3 -mbmi -Werror" $(MAKE) -C $(TESTDIR) test
|
||||||
|
Loading…
Reference in New Issue
Block a user