X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/ad493abc2afb4c415eadd6baa861434e803a563b..1bfbe92a5397f7c8a7348b6b10277cfea3770582:/common/Makefile.common diff --git a/common/Makefile.common b/common/Makefile.common index 61bcef5d..3da34603 100644 --- a/common/Makefile.common +++ b/common/Makefile.common @@ -47,7 +47,6 @@ COPY=cp PATHSEP=/ FLASH_TOOL=client/flasher DETECTED_OS=$(UNAME) - else # Assume that we are running on Windows. @@ -60,6 +59,12 @@ DETECTED_OS=Windows endif +#uncomment to enable EMV +#APP_CFLAGS += -DWITH_EMV +#COMMON_FLAGS += -DWITH_EMV +#uncomment to fix 256 vs 512kb Devices +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 @@ -68,7 +73,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)))