R&Y: Added DAY RTA Tapp Card and Additional BKK BEM Stored Value Card AIDs to `aid_de...
[RRG-proxmark3.git] / tools / fpga_compress / Makefile
blob324860995be1ca80bcd26afd6c80848856648906
1 ifeq ($(PLTNAME),)
2 -include ../../Makefile.platform
3 -include ../../.Makefile.options.cache
4 ifneq ($(PLATFORM), $(CACHED_PLATFORM))
5 $(error platform definitions have been changed, please "make clean" at the root of the project)
6 endif
7 endif
9 MYSRCPATHS =
10 MYINCLUDES = -I../../common_fpga
11 MYCFLAGS = -std=c99 -D_ISOC99_SOURCE
12 ifeq ($(PLATFORM),PM3ICOPYX)
13 MYDEFS = -DXC3
14 else
15 MYDEFS =
16 endif
17 MYSRCS =
18 MYLIBS =
20 MYSRCPATHS += ../../common/lz4
21 MYINCLUDES += -I../../common/lz4
22 MYSRCS += lz4hc.c lz4.c
23 MYCFLAGS += -DLZ4_MEMORY_USAGE=20 -Wno-redundant-decls -Wno-old-style-definition -Wno-missing-prototypes -Wno-missing-declarations
25 BINS = fpga_compress
27 include ../../Makefile.host
29 fpga_compress: $(OBJDIR)/fpga_compress.o $(MYOBJS)
31 tarbin: $(BINS)
32 $(info [=] TAR ../proxmark3-$(platform)-bin.tar)
33 $(Q)$(TAR) $(TARFLAGS) ../../proxmark3-$(platform)-bin.tar $(BINS:%=fpga_compress/%) $(WINBINS:%=fpga_compress/%)