proxmark3/tools/fpga_compress/Makefile
2019-08-19 21:50:16 +03:00

21 lines
507 B
Makefile

MYSRCPATHS =
MYINCLUDES = -I../../common_fpga
MYCFLAGS = -std=c99 -D_ISOC99_SOURCE
MYDEFS =
MYSRCS =
MYLIBS =
ZLIBPATH = ../../common/zlib
MYINCLUDES += -I$(ZLIBPATH)
MYLIBS += $(OBJDIR)/libz.a
BINS = fpga_compress
ROOT_DIR:=$(dir $(realpath $(lastword $(MAKEFILE_LIST))))
include ../../Makefile.host
fpga_compress: $(OBJDIR)/fpga_compress.o $(MYOBJS)
$(OBJDIR)/libz.a:
$(info [*] MAKE zlib)
$(Q)$(MAKE) --no-print-directory -C $(ZLIBPATH) OBJDIR=$(ROOT_DIR)$(OBJDIR) BINDIR=$(ROOT_DIR)$(OBJDIR) all