rework fpga_compress & isolate zlib: use Makefile.host

This commit is contained in:
Philippe Teuwen 2019-08-16 22:50:03 +02:00 committed by Philippe Teuwen
commit 6ebae499aa
4 changed files with 42 additions and 87 deletions

10
common/zlib/Makefile Normal file
View file

@ -0,0 +1,10 @@
MYSRCPATHS = ../../common/zlib
MYSRCS = deflate.c adler32.c trees.c zutil.c inflate.c inffast.c inftrees.c
MYINCLUDES = -I../../common/zlib
MYCFLAGS = -std=c99 -D_ISOC99_SOURCE
MYDEFS = -DZ_SOLO -DNO_GZIP -DZLIB_PM3_TUNED
#-DDEBUG -Dverbose=1
LIB_A = libz.a
include ../../Makefile.host