X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/62577a62ae4726ed57a8d6d1e65ce8c1a2c77211..318bae20def6e9fda702698ae4e83fa67b18cd7f:/common/Makefile.common diff --git a/common/Makefile.common b/common/Makefile.common index f5640bc9..aa93433a 100644 --- a/common/Makefile.common +++ b/common/Makefile.common @@ -59,6 +59,14 @@ DETECTED_OS=Windows endif +# uncomment these two; to enable EMV +#APP_CFLAGS += -DWITH_EMV +#COMMON_FLAGS += -DWITH_EMV + +# uncomment these two; to fix 256 vs 512kb PM3 devices +# flashing bootrom -b is needed +APP_CFLAGS += -DHAS_512_FLASH +COMMON_FLAGS += -DHAS_512_FLASH # Also search prerequisites in the common directory (for usb.c), the fpga directory (for fpga.bit), and the zlib directory VPATH = . ../common ../fpga ../zlib @@ -67,7 +75,6 @@ INCLUDES = ../include/proxmark3.h ../include/at91sam7s512.h ../include/config_gp CFLAGS = -c $(INCLUDE) -Wall -Werror -pedantic -Wunused -std=c99 $(APP_CFLAGS) -Os LDFLAGS = -nostartfiles -nodefaultlibs -Wl,-gc-sections -n - LIBS = -lgcc THUMBOBJ = $(patsubst %.c,$(OBJDIR)/%.o,$(notdir $(THUMBSRC)))