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
)
10 MYINCLUDES
= -I..
/..
/common_fpga
11 MYCFLAGS
= -std
=c99
-D_ISOC99_SOURCE
12 ifeq ($(PLATFORM
),PM3ICOPYX
)
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
27 include ..
/..
/Makefile.host
29 fpga_compress
: $(OBJDIR
)/fpga_compress.o
$(MYOBJS
)
32 $(info [=] TAR ..
/proxmark3-
$(platform
)-bin.
tar)
33 $(Q
)$(TAR
) $(TARFLAGS
) ..
/..
/proxmark3-
$(platform
)-bin.
tar $(BINS
:%=fpga_compress
/%) $(WINBINS
:%=fpga_compress
/%)